background stretch |
Author: |
Message: |
Kryptonate
Veteran Member
    

Posts: 2873 Reputation: 23
38 / / –
Joined: Jun 2003
|
RE: background stretch
quote: Originally posted by DJKAL
quote: Originally posted by Kryptonate
yes there is. It's called Javascript
.... can you explain how to do this then?
* DJKAL asks nicely 
http://www.pageresource.com/jscript/jscreen.htm
|
|
03-05-2006 07:33 PM |
|
 |
DJKAL
Senior Member
   

Posts: 800 Reputation: 14
34 / / –
Joined: Oct 2005
|
O.P. RE: background stretch
that isnt what i want - i just want the image to be resized automatically and not the page redirected 
"You don't sleep, you defragment!"
|
|
03-05-2006 07:36 PM |
|
 |
Plik
Veteran Member
    

Posts: 1487 Reputation: 46
35 / / –
Joined: Jun 2004
|
RE: RE: background stretch
quote: Originally posted by Plik
You can't stretch a background image, the only time you can set the size of an image is when its used in the <img> tag
Which isn't a bad thing because if you stretch your background it will always look mis-shapen and pixelated with someones resolution.
Stretching != cool 
i hate repeating myself 
This post was edited on 03-05-2006 at 07:38 PM by Plik.
|
|
03-05-2006 07:38 PM |
|
 |
DJKAL
Senior Member
   

Posts: 800 Reputation: 14
34 / / –
Joined: Oct 2005
|
O.P. RE: background stretch
i didnt see the edit
so it cant be done 
need to find another b-ground that can be as effective then 
thanks
"You don't sleep, you defragment!"
|
|
03-05-2006 07:40 PM |
|
 |
Kryptonate
Veteran Member
    

Posts: 2873 Reputation: 23
38 / / –
Joined: Jun 2003
|
RE: background stretch
it can't be done indeed. The only thing you can do is depending on the user's resolution replacing the backgroundimage with another one with a different resolution.
|
|
03-05-2006 07:44 PM |
|
 |
DJKAL
Senior Member
   

Posts: 800 Reputation: 14
34 / / –
Joined: Oct 2005
|
O.P. RE: background stretch
no i dont waant that - never mind thanks
"You don't sleep, you defragment!"
|
|
03-05-2006 07:45 PM |
|
 |
Ezra
Veteran Member
    

Forgiveness is between them and God
Posts: 1960 Reputation: 31
38 / / 
Joined: Mar 2003
|
RE: background stretch
Replacing the background image is the best thing you can do, just resize your image to the most popular sizes like: 800x600, 1024x720, 1280x960, 1600x1200 and replace the image that is closest to the users resolution.
This post was edited on 03-05-2006 at 08:37 PM by Ezra.
|
|
03-05-2006 08:35 PM |
|
 |
DJKAL
Senior Member
   

Posts: 800 Reputation: 14
34 / / –
Joined: Oct 2005
|
O.P. RE: background stretch
quote: Originally posted by Ezra
Replacing the background image is the best thing you can do, just resize your image to the most popular sizes like: 800x600, 1024x,720, 1280x860, 1600x1200 and replace the image that is closest to the users resolution.
thanks - but i think il just go for a mosr basic b-ground that will always work
thanks for all your help though!
"You don't sleep, you defragment!"
|
|
03-05-2006 08:37 PM |
|
 |
rav0
Veteran Member
    

i have an avatar
Posts: 1418 Reputation: 29
35 / / 
Joined: Aug 2003
|
RE: background stretch
CSS3 will let you set the size of the image to, but CSS3 isn't released yet.
| ![[Image: dorsh]](http://tinyurl.com/dorsh) |
(\ /)
(O.o)
(> <)
This is Bunny. Copy Bunny into your signature to help him on his way to world domination
|
|
03-06-2006 08:55 AM |
|
 |
Pages: (2):
« First
«
1
[ 2 ]
Last »
|
|