|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (6 bit)
|
stretch a fixed background
anyhow right now i'm trying to make a background on my website fixed and stretched so it will fit in any resolution. keep in mind i'm not that much of a html/java/css guy =P
googled it up a bit, and from what i read you can't do stretch in html. i found the javascript code for stretch, but the background isn't fixed. here's the link to the JS code: http://www.webreference.com/dhtml/di...bgresize3.html any help would be much appreciated. thanks =) |
|
|
|
|
|
#2 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
The short answer is that you can't stretch it. It does though depend greatly on the image. If it is a picture with a lot of detail then there isn't much you can do besides putting it in a fixed resolution table. If it is a background with repeating patterns then it would be no problem.
|
|
|
|
|
|
#3 |
|
Member (8 bit)
|
yeah, if its a pattern no prob, set it as the background, but otherwise, you could create the same image in like... 3 or 4 resolutions, use some javascript to check the reso. of the user, and set the image. There are a few other ways, but if you dont know to much about "webdesign" they would be hard to explain, and probly wouldnt work to well.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|