Brett wrote:
> As a general question, it seems as though CSS only concerns itself with 
> width:% and does not really consider height:%, is that true?  If you 
> look at my link and adjust the browser window, it appears to change only 
> in relationship to the width of the window not the height.  

No to your first question, but yes, your second observation is correct. 
Height is liquid based on content. If you put more content into 
something that has no explicit height declared, it will grow larger in 
height. Remove content and it grows smaller. Same thing applies when the 
content is resized, rather than changing in amount (eg, the font size is 
changed, the width is decreased so content has to re-wrap onto more 
lines, etc.)

Now, if you explicitly declare a height, height no longer concerns 
itself with how much content there is (hence the reason why you should 
almost never declare a height). Percentage dimensions are based on the 
dimensions of their parent.


>> http://www.belleartae.com/arrow/index.html
>>     

It looks as though you are wanting to make that pink div stretch to fill 
the height of the viewport, correct? Here's a tutorial on how to do that:
http://www.communitymx.com/abstract.cfm?cid=BAD95

I personally recommend not bothering with it, though. Letting the 
content dictate your height is sufficient in most cases, especially 
since most pages on most sites are longer than the viewport anyway.

Zoe

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to