Another 'IE hates my CSS' thread

Discussion in 'CSS' started by awesty, May 11, 2007.

  1. #1
    awesty, May 11, 2007 IP
  2. Dan_A

    Dan_A Peon

    Messages:
    65
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    For ie 6, you can try to add
    * html #rightbarcon{margin-right:-10px;}
     
    Dan_A, May 11, 2007 IP
  3. awesty

    awesty Active Member

    Messages:
    247
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Thankyou, that has solved the biggest of the IE problems. But now it looks funny in FF. :\
     
    awesty, May 12, 2007 IP
  4. Keagle

    Keagle Peon

    Messages:
    351
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Looks fine in Opera by the way :)
     
    Keagle, May 12, 2007 IP
  5. Dan_A

    Dan_A Peon

    Messages:
    65
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #5
    It shouldn't if you copy and paste the whole line at the end of your stylesheet.
     
    Dan_A, May 12, 2007 IP
  6. awesty

    awesty Active Member

    Messages:
    247
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #6
    Thankyou. I hadnt checked opera.

    Really? Thanks. so does * html mean 'for IE only' ?

    EDIT: Thanks a lot, all that needs fixing now is the gaps between the gray parts (If you click the link you will see what I mean).

    http://www.awestyproductions.com/templates/rockstar/index.html
     
    awesty, May 12, 2007 IP
  7. clicyu

    clicyu Peon

    Messages:
    22
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #7
    #container {
    display: block;
    margin: 0;
    float:left;
    width:670px;
    }
    #rightbarcon {
    float:left;
    width:457px;
    }
    body {
    background: #666666 none repeat scroll 0%;
    color: #FFFFFF;
    font-family: ‘Lucida Grande’,Verdana,Arial,Sans-Serif;
    font-size: 62.5%;
    margin: 20px 10%;
    }


    And i think u must remove default margins and padding from H1 elements and from ul and li elements*on #leftbar*, IE and firefox have different default margins and padding for this elements. Set your own margins and padding or set it to 0.
     
    clicyu, May 12, 2007 IP
  8. awesty

    awesty Active Member

    Messages:
    247
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #8
    Thanks but all that seemed to do was move everything to the left :\
     
    awesty, May 12, 2007 IP
  9. KipperMyHero

    KipperMyHero Peon

    Messages:
    9
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Just put "clear: right" into #rightbarcon, then it should work in both IE and Firefox.
    :)
     
    KipperMyHero, May 18, 2007 IP
  10. solution2u

    solution2u Peon

    Messages:
    252
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #10
    You can put <div align="center"> the rest of your code here </div> after body
     
    solution2u, May 18, 2007 IP