Re: Percentage height meaurements.

 > 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!

Richard York

The Spicy Peanut Project

Received on Thursday, 27 May 2004 21:28:29 UTC