SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Guru Luki_be's Avatar
    Join Date
    Jun 2008
    Location
    Brazil, Minas Gerais. But i'm from Belgium.
    Posts
    867
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    star html hack - there has to be another way

    Seems it's just one of those days sigh

    page
    css

    IE6 creates and unwanted gap between the nav and the header. The header image is background, so it's not the usual 'image creates unwanted space' problem.

    Feeding IE6 a smaller top margin to #navcontainer solves it but there has to be another way then hacking it ... or not?
    SitePoint Guru
    Sitepoint - the ultimate Css well
    As a computer, I find your faith in technology amusing.
    Sitepoint reference, your friend in need

  2. #2
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,564
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Hi, if you mean IE7..then yes I can see what you are talking about. IE6 seems A-Ok on my side. IE7 can probably be fixed by removing the top margin set here (it doesn't change anything visually in FF/moderns anyway)
    Code:
    #wrapper{margin-top:0;}
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work

  3. #3
    SitePoint Guru Luki_be's Avatar
    Join Date
    Jun 2008
    Location
    Brazil, Minas Gerais. But i'm from Belgium.
    Posts
    867
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by RyanReese View Post
    Hi, if you mean IE7..then yes I can see what you are talking about. IE6 seems A-Ok on my side. IE7 can probably be fixed by removing the top margin set here (it doesn't change anything visually in FF/moderns anyway)
    Code:
    #wrapper{margin-top:0;}
    I meant IE6 buddy
    Didn't check in IE7 yet but thanks for the tip Don't know what that margin-top: 1em was doing there anyway....

    IE6 looks good now also once the topmargin was reset

    Completely overlooked that wrapper margin .... sigh.... Not a good day today it seems
    SitePoint Guru
    Sitepoint - the ultimate Css well
    As a computer, I find your faith in technology amusing.
    Sitepoint reference, your friend in need

  4. #4
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,564
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    I didn't even see it in IE6 .. though sleep deprivation probably had me load IE6 after I implimented the fix.

    One of those days it seems lol . Glad it's working.
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work

  5. #5
    SitePoint Guru Luki_be's Avatar
    Join Date
    Jun 2008
    Location
    Brazil, Minas Gerais. But i'm from Belgium.
    Posts
    867
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by RyanReese View Post
    I didn't even see it in IE6 .. though sleep deprivation probably had me load IE6 after I implimented the fix.

    One of those days it seems lol . Glad it's working.
    It's the same deprivation that got me not noticing that top margin .... only slept 2 hours
    SitePoint Guru
    Sitepoint - the ultimate Css well
    As a computer, I find your faith in technology amusing.
    Sitepoint reference, your friend in need

  6. #6
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,564
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Off Topic:

    I can beat that. No sleep
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work


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
  •