View Full Version : Background...


iGeek
09-26-2004, 08:05 PM
How do I get a background to stretch across the page, NOT tiled? I also want it to be fixed with no scroll bars on the page. any help thanks!

kittycat
09-26-2004, 08:28 PM
There's no code to stretch a background image.

You'll have to open it up in a graphics program and resize it to the correct size there.

Desten
09-26-2004, 08:59 PM
^^^^ i use to know this

Kasumi×
09-26-2004, 10:51 PM
You wanna do a pixel stretch?

if so.. open your graphics program.. use the selection tool and select the bottom of your layout and crop it once you cropped it click on image size (for adobe) or canvas size (for psp) and type in width 800 or whatever your layout size it.. and height 1 ..and save it as bg.jpg after you've got that; in your html file you'll wanna put in.. <BODY leftMargin=0
background="bg.jpg" topMargin=0>


or in your css

Hope that's what you wanted.. ^^

Monkey Bizzle
09-27-2004, 03:25 AM
i think they wanted to stretch the BG to fit the size of the screen, not do a pixle stretch...

Tai
09-29-2004, 09:16 PM
Hi

Just read your reply Kasumix -------- I always wanted to know how to do that, glad i spotted your reply, great :)