-
I recently read some advice on how to use a single, large background image, and to get it not to tile when viewed at larger resolutions, (i.e. to get it to stretch to to the browser's display area). I can't find this advice anymore, and so was hoping someone would be willing to repeat it or give their input. Thanks to all.
-
The only way to get an image to stretch to the user's resolution is to use DHTML through javascript to write out the image tag in a layer with a negative z-index. That said you can find examples on how to do this at sites like projectcool.com or siteexperts.com.
If you just want to center a background and have it not tile or repeat then you can use CSS. This solution is a lot more elegant and only requires two lines in your style sheet.
background-position:center;
background-repeat:no-repeat;
If you go to www.webreview.com in the Style Sheets section they have a lot of mini-tutorials on using CSS in your design. One of those tutorials covers background properties.
------------------
Wayne Luke
Internet Media Provider