![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm looking for clarification of css 2.1 specification in section 8.3.1 "Collapsing Margins" The 6th bullet reads "If the top and bottom margins of a box are adjoining ..." I won't paste the whole point here, its too long. But, from this first line does this mean that the element has empty content, no border, and no padding? |
|
Further on in the same point its mentioned that : "An element that has had clearance applied to it never collapses its top margin with its parent block's bottom margin" ... what is this reffering to? how could it happen that a top margin of a child aligns with the bottom margin of its parent? |
|
Sorry, I'm somewhat new to learning CSS and haven't found a very detailed book on newer aspects in CSS 2.1 so I'm really struggling to understand all the fine points. Is there any clearer explanation of these specifications? It seems to me that a text description is almost impossible to understand at times. |
![]() |
| Thread Tools | |
| Display Modes | |
| |