Log in

View Full Version : full screen background



stevedc
10-23-2008, 12:42 AM
I want to create a div that stretches across the entire browser window like this site.

http://itp.nyu.edu/sigs/

this is as far as I've gotten:
http://spectrum-ltd.com/comps/index_2.html

the css is internal so you can see the code. the width spans to %100, but I can't see to get the height to do the same. Any help would be greatly appreciated.

~ Regards
Steve

Medyman
10-23-2008, 12:51 AM
Why not add the background image to the <body> tag itself? That would put your background at 100% height and width%.

stevedc
10-23-2008, 12:59 AM
Medyman - perfect. amazing and thank you! Next step - trying to make the main container div disappear with javascript onclick event function, so you can collapse the webpage and only view the background image. Searching now....

~ Steve

Medyman
10-23-2008, 01:01 AM
Medyman - perfect. amazing and thank you! Next step - trying to make the main container div disappear with javascript onclick event function, so you can collapse the webpage and only view the background image. Searching now....

~ Steve

Check your other thread. I think that'll solve your next step too.

songchai
10-24-2008, 03:07 PM
Thanks to this Post, I was planning to develop my website as Full size background.