Background image

Lazzo

Registered
Hello - Does anybody know if there is a way to size a background image to 100% vert, 100% hor, instead of it automatically tiling? (Dreamweaver MX)

I can do it in tables & layers - now I want to do it as a bg image if poss.

Cheers, Lazzo
 
not exactly... there are a couple of ways to do what your desired effect is though.

1. create the image to be super long and wide, say 1200w x 1600h... this way it probably won't tile (of course, depending on your design, this might not be possible) if you keep the image a gif and make sure you optimize it well, the file size shoudn't become an issue.

2. Use CSS to control the placement and tiling fo the background image. there is a tutorial available here: http://htmlgoodies.com/beyond/cssbg.html#repeat -- athing to note about this method, it might not work in all browsers... do some cross platform and multibrowser testing before final publishing.


good luck!
 
Thanks, Rinse. I'll give it a bash later tonight, right now though I'm about to bore everyone to death with a new post on an old subject in "Mac OS X System & Software"...

Cheers, Lazzo
 
Back
Top