Welcome visitor
* Login
* Register
It is currently May 20th, 2019, 6:42 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  CSS for a general hieght
PostPosted: January 12th, 2010, 10:48 pm 

Posts: 25
Hi, I have a div as the main wrapper of my site, so I need it to extend through all the screen. The problem is that if I tell it to be heigth: 100% it will not expand. If I say 800px it will but I don't know the height in px of all screens, so is there a way to find it and then tell the div to expand to that height?


Top
 Profile  
 
  Re: CSS for a general hieght
PostPosted: January 13th, 2010, 6:55 am 

Posts: 42
I think the easier would be using this CSS and height at 100%
<style type="text/css">
    body, html {height: 100%}
</style>
and then you can use the height 100%, ;) :mrgreen:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron