|LJ XColibur problem with margin collapse
||[Dec. 20th, 2003|07:46 pm]
Opera 7.5, currently out as a preview for Windows and Linux/BSD, is the first browser to get CSS2 margin collapsing completely right. |
Unfortunately, this causes a problem with the LJ Xcolibur skin.
Since http://stat.livejournal.com/xc/basic.css sets padding to 0 for the body element, the top margin of the
and and elements collapse together, and thus the top of the is lower than the top of the viewport. the background is then rendered there.
Padding changes things because it stops the margins collapsing together.
I suggest setting the default padding for to 1px or some other small value in basic.css, or leave any statement out so the browser's default values can apply.
(First posted in support