Reply
Div the height of window
Old 06-07-2007, 07:08 AM Div the height of window
Novice Talker

Posts: 9
Trades: 0
Hi all,

I'm still new to CSS so I don't know if this is possible. I have a wrapper div that surrounds all the content which is centered horizontally in the broswer window. Is it possible to ensure that the height of this div is the full height of the browser window if when there isn't enough content.


C
Attached Images
File Type: gif Untitled-1.gif (1.5 KB, 2 views)
cooper10 is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 06-07-2007, 08:40 AM Re: Div the height of window
PadraigCurran's Avatar
Skilled Talker

Posts: 59
Name: Padraig Curran
Location: Ireland
Trades: 0
I think its...

Code:
#wrapper {
      height: 100%;
}
__________________
PadraigCurran.com - I am available for web design work!
PadraigCurran is offline
Reply With Quote
View Public Profile Visit PadraigCurran's homepage!
 
Old 06-07-2007, 10:11 AM Re: Div the height of window
LadynRed's Avatar
Super Moderator

Posts: 9,036
Location: Tennessee
Trades: 0
That's only part of the solution. There is a stickie at the top of this forum that explains how to get 100% height.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-07-2007, 12:09 PM Re: Div the height of window
Novice Talker

Posts: 9
Trades: 0
LadynRed,

When you say sticky at the bottom do you mean the ones at the top of the forum, is it possible to get a link ?


c
cooper10 is offline
Reply With Quote
View Public Profile
 
Old 06-07-2007, 12:10 PM Re: Div the height of window
LadynRed's Avatar
Super Moderator

Posts: 9,036
Location: Tennessee
Trades: 0
There is a sticky at the top of THIS forum area - not at all hard to find.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-07-2007, 12:24 PM Re: Div the height of window
Novice Talker

Posts: 9
Trades: 0
I found it.

Thanks for the help
cooper10 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Div the height of window
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11303 seconds with 14 queries