IE6 Issue in WordPress Theme

Discussion in 'CSS' started by tomah, Oct 5, 2007.

  1. #1
    If you have IE6, you will see at here, that the main content, sidebar, and footer shifts 7px to the left from where it's positioned in Firefox.

    I don't think it's a double margin issue though. Can anyone see what it is?
     
    tomah, Oct 5, 2007 IP
  2. tomah

    tomah Peon

    Messages:
    143
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Is a day and a half sufficient to ask for help again? I haven't had any response and I'm a little puzzled.
     
    tomah, Oct 7, 2007 IP
  3. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #3
    Well, you should PROBABLY get valid HTML in there first...

    <ul id="sidebarwidgeted">
    <h2>Recently Written</h2>
    <ul>

    Uhm, do we see the problem here? The 'wrap' div is also unclosed, etc, etc.

    But then, it is a turdpress template, so one doesn't entirely expect valid HTML.
     
    deathshadow, Oct 7, 2007 IP
  4. papa_face

    papa_face Notable Member

    Messages:
    2,237
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    285
    #4
    Add this to the top of your stylesheet.
    * { margin:0px; padding:0px; }
    Code (markup):
    See if that makes a difference.
     
    papa_face, Oct 7, 2007 IP
  5. tomah

    tomah Peon

    Messages:
    143
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks for the constructive criticism DS. I appreciate it.

    I'm just learning. I tried using a different stylesheet for IE6, but then it wrecked it for IE7. After a bit of searching, I found out how to do a simple hack for IE6 in the stylesheet, and now it seems to be working, and as far as I can tell it seems pretty valid now too.

    Thanks again guys.
     
    tomah, Oct 7, 2007 IP