Jordi (erbkaiser) wrote in lj_dev,

LJ XColibur problem with margin collapse

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 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.)

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded