Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jul 2007
    Posts
    29
    Thanks
    6
    Thanked 0 Times in 0 Posts

    IE6 bug - doubling up on a bit of content

    Hey guys, i need help on this tiny but quite frustrating problem... I've never come across it before, and i have no idea how to phrase it so i can get answers from google, so here's an image that explains what i'm on about...



    I have my files here if you want to peak and work it out. But if you seen it before, and could direct me to a solution that would be great.

    Thanks!
    Last edited by senkei; 11-12-2009 at 05:39 AM.

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,862
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Try adding margin-right:-3px; to #donate
    Refer http://www.positioniseverything.net/...haracters.html (cool down )
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • Users who have thanked abduraooft for this post:

    senkei (11-12-2009)

  • #3
    New Coder
    Join Date
    Jul 2007
    Posts
    29
    Thanks
    6
    Thanked 0 Times in 0 Posts
    Oh sweet, that -3px to right margin did the trick. It made things a little more complicated cause then i had to separate the IE6 to IE7 hack css, since IE7 did not have this problem (a couple of others). Obviously this does not leave the element lining up on the right side, so i had to absolute position it.

    Just a heads up for anyone else who runs into this problem and finds this through search.

    Thanks dude for the fix and link!

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,862
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    To target IE6, you could use
    Code:
    * html #donate{
    margin-right:-3px;
    }
    btw, I think you may avoid writing hacks for IE7, if you neatly code your document.(If my memory is correct, I haven't written any IE7 hacks in any of my sites)
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

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