redho home | products | services
Web Design Forums

Web Design Forums  


Web Hosting, Web Design, Software and Web Development Forums  
 FAQFAQ   MemberlistArchive  Log inLog in   RegisterRegister 
         

setting the height of a div



 
Post new topic   Reply to topic    Web Design Forums -> HTML forum
View previous topic :: View next topic  
Author Message
BigDaddy



Joined: 26 May 2006
Posts: 147
I have a question about the difference between setting the height of a div to auto versus 100%. Does auto mean that the div height will be the height of the content plus padding, and 100% mean that the div height will be 100% of the height of its container?
  Reply with quote


ovigo22



Joined: 15 May 2006
Posts: 130
Only if the height of its container is specified
*parent container
But other then that yeah
  Reply with quote
BigDaddy



Joined: 26 May 2006
Posts: 147
Ok, so how do I get the height of my outermost div (the container) to stretch to the bottom of the browser window even if the content of the div is not big enough?
  Reply with quote
ovigo22



Joined: 15 May 2006
Posts: 130
Using javascript? or set your body's height to 100% ?
  Reply with quote
BigDaddy



Joined: 26 May 2006
Posts: 147
Ah, I didn't realize that the body could have a height
  Reply with quote
Kopilman



Joined: 25 May 2006
Posts: 162
google "faux column"
  Reply with quote
BigDaddy



Joined: 26 May 2006
Posts: 147
Thanks Chris
  Reply with quote
Page 1 of 1
Post new topic   Reply to topic    Web Design Forums -> HTML forum


Dubai Forums - Expat Help | Vegan Chat | Java Programming | Free 3D tutorials and 3d textures | Paris Forum | EU Forum
Free Dubai Classifieds | Free London Classifieds | Jobs in London

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

Powered by phpBB © 2001, 2005 phpBB Group