W3C home > Mailing lists > Public > www-style@w3.org > May 2004

Re: Percentage height meaurements.

From: Richard York <richy@smilingsouls.net>
Date: Thu, 27 May 2004 20:28:07 -0500
Message-ID: <40B695A7.2060102@smilingsouls.net>
To: www-style@w3.org

 > Correction: 'box-sizing' is already in the CSS3 Basic User Interface
 > specification which is a Candidate Recommendation (CR), and
 > implementations
 > (and uses) are officially encouraged.

Well I wouldn't have a problem making a reference to box-sizing. I did 
read about box-sizing prior to asking my question. The problem with 
box-sizing is it doesn't address the addition of margins. I understand 
why it doesn't address margins, margins are interpreted as outside of 
the box and width, height measurements strive to measure inside of the 
box. In the scenario I presented, width is easy to get around, width: 
auto adjusts automagically to accommodate the margins, padding and 
borders, I'm just stumped as to why a similar keyword, property, or 
solution of any kind isn't also offered for height for vertical 
fluidity, although I agree the default behavior should be for the 
element to expand enough to accommodate whatever is contained inside of it.

I also don't understand why box-sizing, like many other properties 
appear in more than one module, it seems this would create 
conflicts/confusion. One module is a CR and one is still a working 
draft. The latter appearance makes it quite clear that the properties 
are still experimental or theoretical, so how can the former be a CR?

As far as blows to my credibility, well let's hope that I'm smart enough 
to present theoretical content as theoretical ;), or ignore it 
all-together. I didn't want to say in the book that no solution exists 
for the use of 100% height with margins, padding, borders without 
causing scroll bars to appear without either using a smaller percentage, 
which isn't consistent on multiple screen resolutions or using an 
absolute height which is tied to one specific screen resolution and at 
that still might not be consistent depending on the user's screen size, 
if none of that is true. Is that the consensus then? There is no way to 
make the height truly fluid and have margins too?

Thanks for the insight!

Regards,
Richard York

-- 
:::::::::::::::::::::::::::::::::::::::::
The Spicy Peanut Project
http://www.spicypeanut.net
:::::::::::::::::::::::::::::::::::::::::
Received on Thursday, 27 May 2004 21:28:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:30 GMT