IE problem, cannot be skipped

Discussion in 'CSS' started by killafawk, Apr 25, 2007.

  1. #1
    well my browser is FireFox and i have IE6 on my computer to look at different versions when im making my site, but now everything looks good for

    www.myspacedrug.com in firefox but once you look at it in IE most of the buttons are gone and the bars are missing. isn't there a quick fix code for IE? I thought i swore i saw something you just add to your code and it fixes everything. Anyone got any suggestions?
     
    killafawk, Apr 25, 2007 IP
  2. semantic7

    semantic7 Member

    Messages:
    92
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    48
    #2
    First you need to add a doc type to your page else the browser gets in to quirks mode where things are unpredictable. The second thing that might help is to add the following to the very top of your css file...

    * {
    padding: 0;
    margin: 0;
    }
     
    semantic7, Apr 25, 2007 IP
  3. killafawk

    killafawk Active Member

    Messages:
    2,248
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    90
    #3
    thanks for the advice but sadly it did not fix it. any other suggestions?
     
    killafawk, Apr 25, 2007 IP
  4. lighe

    lighe Active Member

    Messages:
    150
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #4
    looks fine to me :|
    PS: maybe it will help you in the future. sometimes when you're floating a div to the left, IE will incorectly double the margin-left property. Just add display:inline; and it will solve your problem.
     
    lighe, Apr 28, 2007 IP
  5. killafawk

    killafawk Active Member

    Messages:
    2,248
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    90
    #5
    oh i change the template. not using that one anymore
     
    killafawk, Apr 28, 2007 IP