IE 6 correct... IE 7+ not working correctly, please help...

Discussion in 'CSS' started by locals, Mar 7, 2010.

  1. #1
    so i have

    #content img {

    }

    and in IE6 the image is in the correct place, however in IE7+ the image is too hi... but with


    #content img {

    position:absolute;

    }

    then in IE7+ the image is in the right place, however then in IE6 it is shifted to the right... I cant seem to get it in the same place on both

    I have leaned about the "_" and * but i still cant get this to seem to line up on both, also float left in absolute position didnt work. so any help is appreciated. thanks
     
    locals, Mar 7, 2010 IP
  2. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #2
    Without a link or the complete markup, anything we tell you is just a wild guess. Suffice to say, IE6 is the worst of the worst browsers on the planet (IE).
     
    drhowarddrfine, Mar 8, 2010 IP
  3. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #3
    As MoeLarry said, "Why we can't help you" - without the HTML you are applying the CSS to, any CSS you show is gibberish - without seeing what you are attempting to do for a layout and the complete code, the code for any two elements is gibberish...

    Though dicking around with absolute positioning; Unless this is a gilder-levin image replacement I suspect you are probably doing it ALL WRONG.

    You know, like the site in your signature with the clearing DIV, endless hordes of nested DIV, multiple H1's, nonsensical heading orders, inlined presentational CSS, non-semantic markup, absolute links, classes and ID's for nothing on many elements, title attributes that have nothing to do with the content of the anchor, etc, etc, etc....

    Makes the site title quite humorous.
     
    deathshadow, Mar 8, 2010 IP
  4. locals

    locals Well-Known Member

    Messages:
    1,677
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    153
    #4
    LOL well thanks for everyones "suggestions"

    it ended up being some "baseline" code that was messing things up... and the site in my footer link is not about how coding works, but whether the site at hand serves a purpose... as long as it looks good, i dont really care how it got there LOL
     
    locals, Mar 11, 2010 IP