MEM wrote:
>> What's the uri of the "solved" version
> 
> http://chequedejeuner.nuvemk.com/home2.html
> 
> 
>>
>>> My previous questions, however, still applies,
>>
>> What were your previous questions and what uri did they apply to? I
>> tend
>> to delete your flood of e-mails on receipt :-) .
> 
> Here is the questions list in all its glory:
> 
> Why the overflow:hidden; doesn't allow the padding-top and bottom, to work?

Overflow only clips a boxes contents. If the content overflows, then the 
padding-right and padding bottom of the box is not visible outside the 
border box if the value for overflow is hidden or not scrollable too 
outside the border box if the value for overflow is auto.


> I thought that the overflow:hidden; will hide the content that is
> wider/higher than a given container element. Isn't this correct? 

Yes.


>>From this new link to the previous, I suppose I've only changed
> display:inline; to display:block; 
> What could be the relation between this and the solution found?

<http://www.w3.org/TR/CSS21/visudet.html#inline-width>

# The 'width' property does not apply. A computed
# value of 'auto' for 'margin-left' or 'margin-right'
# becomes a used value of '0'."


> I was hoping that knowing the rules will help us predict some features on
> the future. And, actually, not only solve, but properly understand how to do
> solve them. I mean by this that: If we take by reference the guys that have
> found and create the clearfix method, or that found hasLayout solutions, for
> example, should we accept that they should understand the rules in order to
> found solutions to that kind of problems... Or, have they found those
> solutions based on trial and error? If so... well... should we admit that
> there is no possible science from CSS 2.1 specs ?
> 
> 
> Regards,
> Márcio


The CSS2.1 clearly defines how layout should work and is much more 
precise than scientific theory. Usually the fixes for buggy behavior are 
due to understanding why bugs are happening in respect to hasLayout and 
knowing how to counter them. Some bugs can never be neutralized since 
some browsers do not completely follow the CSS2.1 specs.

Overflow hidden is a method often used to contain floats (IE6- needs a 
hasLayout trigger). The alternative is clearFix (IE7- needs a hasLayout 
trigger).


-- 
Alan http://css-class.com/
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to