> > > > 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. >
Sorry, I was unable to properly understand. :( Here are my tries: Overflow only clips boxes contents. By boxes contents, we mean, for example, a text inside a div element. Yes? Could we also mean, a text inside a p element? If the content overflows, and the overflow is defined as hidden, the padding-right and padding-bottom are not visible outside the border box. Ok... regardless if we defined a border or not? I was able to see the left and right padding, and play with them. The top and bottom where my issue... > >>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'." Ok. I suppose this is because, if we allowed a width to be defined, then it wouldn't be properly inline, since the inline is based on the intrinsic width of elements ? However, margin and padding should apply. Yes? Thanks a lot for your reply, it took me a while to get it and, I'm still miss the point, please have patience. Regards, Márcio ______________________________________________________________________ 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/