SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    Non-Member lostseed's Avatar
    Join Date
    Sep 2005
    Location
    Zurconion Soon!
    Posts
    1,549
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    IE #header Height problem, haslayout, quirks, help please.

    http://jream.com/test/

    Its got something to do with a CSS header hack for IE.
    The hack here obviously doesn't work, I also tried the 1% hack.
    Code:
    /* M A I N   L A Y O U T   C O N T E N T */
    #header {
     margin: 0 auto;
     background: url(/images/green-bar-top.gif) repeat-x;
     height: 100px;
     border: 1px solid red;
    }
    
    * html #header{
    height:100px;/*for ie5.x win */
    h\eight:100px;/*for ie6*/
    }

  2. #2
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You've got padding: 55px on img.logo. You don't need the * html #header hack.

  3. #3
    Non-Member lostseed's Avatar
    Join Date
    Sep 2005
    Location
    Zurconion Soon!
    Posts
    1,549
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    man im an idiot.

    thought it was a #header IE problem because the padding didn't affect FF.

  4. #4
    Non-Member lostseed's Avatar
    Join Date
    Sep 2005
    Location
    Zurconion Soon!
    Posts
    1,549
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    haha. thanks tyseen


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •