• Hey guys.

    I am trying to cook up a theme based on Blix, but I am having problems with the CSS. there are a couple of <hr class=”low”> in the index.php file. These are set to display:none in the CSS. but because of this (i think) i am getting a margin on the main content div. If i remove the display:none on the <hr>, the ‘margin dissapears’ and the content div floats left as intended. havent got a clue whats going on here. I havent changed the layout to much except some basic padding here and there.

    Any pointers appreciated.

    Thanks
    Kumar

Viewing 4 replies - 1 through 4 (of 4 total)
  • a link would probably be appreciated, most people do better when visual cues are provided.

    Thread Starter sasisena

    (@sasisena)

    sorry, wasnt thinking 🙂

    here it is: http://home.no.net/kumar/es_test/wordpress/

    as you can see the grey content area is centered somehow, although i have flated it to the left. the <hr> are set to display:none;

    Thread Starter sasisena

    (@sasisena)

    well, i have now removed the <hr>s in the template files. but problem still persists. the funny thing is if i remove the float:left it will stay at the left. but with that declaration enabled, it gives me a margin like the link above shows. it does work as intended in IE7 but not firefox. seems to be a css problem, i can post the code if needed.

    Thread Starter sasisena

    (@sasisena)

    sorted! looks like it had somethign to do with the line-height in the previous div (navigation at the top)…a reduction of the height of this div led to the problem.
    not sure exactly what happened, but its working anyway.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘CSS problem with theme, – margin issue’ is closed to new replies.