In ie6 my html is looking different from other browsers

Discussion in 'HTML & Website Design' started by mpchekuri, Dec 9, 2009.

  1. #1
    I had designed a page using html with css support which is looking different in internet explorer 6 from ie7 and other browsers. why is this?
     
    mpchekuri, Dec 9, 2009 IP
  2. Impactbnd

    Impactbnd Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    ie6 is very buggy and never used "true" css. This can be fixed using css hacks such as *html. I have to do this on almost all the sites I design to ensure ie6 users see the sites the way i design them.

    Example:
    .header{width:200px}
    *html .header{width:190px}
     
    Impactbnd, Dec 9, 2009 IP
  3. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #3
    Of all the despised IE browsers, IE6 is the most hated for its multitude of bugs, quirks and non-standard behavior. Worst of all, IE6 does not work like IE7 which doesn't work like IE7 compatibility mode which doesn't work like IE8.
     
    drhowarddrfine, Dec 9, 2009 IP
  4. Impactbnd

    Impactbnd Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I think 5.5 was the worst, but thankfully we don't have to design to that anymore.
     
    Impactbnd, Dec 9, 2009 IP
  5. jessicalore

    jessicalore Guest

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    OMG I know about IE6, but actually if you want to site display good on IE6.
    Number 1. Don't use PNG images.
    Number 2. Create special CSS files for IE6
    Separate your HTML layout and let the CSS handle all the Layout.
     
    jessicalore, Dec 10, 2009 IP
  6. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #6
    You're right but the two guys who still use it, one just died and the other rarely gets online anymore.
     
    drhowarddrfine, Dec 10, 2009 IP
  7. jtaylo49

    jtaylo49 Peon

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    One of the most common IE6 css is bugs is the doubling of padding or margins when floating an element. However, it is very simple to fix this just add display:inline; to the floated element.

    I don't know if that helps because you didn't say what was displaying improperly. IE in general is the devil, but IE6 especially so.
     
    jtaylo49, Dec 10, 2009 IP
  8. 1EightT

    1EightT Guest

    Messages:
    2,646
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    0
    #8
    IE6 is 8+ years old. I would look at integrating Google Chrome Frame which auto detects older versions of IE and has them install a plugin so the pages are rendered with the Chrome engine. It's the only way we as webmasters can get rid of the plague that is IE6.
     
    1EightT, Dec 10, 2009 IP
  9. LeetPCUser

    LeetPCUser Peon

    Messages:
    711
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Every version of Internet Explorer that comes out looks different than the rest. Internet Explorer 7 and 8 are starting to render things better and looking more accurate, like Firefox. Most websites do not fully support Internet Explorer 6 anymore. Personally I do not support Internet Explorer 6 for any of the sites I develop anymore.
     
    LeetPCUser, Dec 10, 2009 IP
  10. Mentalhead

    Mentalhead Active Member

    Messages:
    1,344
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    53
    #10
    I'm not an expert but in order to get your page to work well in IE, you need to reset your styles, have valid HTML (or else it goes in quirks mode or something) and don't use padding or margins for positioning (as I did). Hope that this helps.
     
    Mentalhead, Dec 10, 2009 IP
  11. sagarrai000

    sagarrai000 Peon

    Messages:
    1,475
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #11
    You check on firefox because many good design doesnt load on IE. IE just sucks. By the way if you need any premium made CSS template, please PM me. I have collection of 1k premium template, premium wp themes etc.
     
    sagarrai000, Dec 10, 2009 IP
  12. vinpkl

    vinpkl Active Member

    Messages:
    899
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    58
    #12
    even that all IE browsers are available for free to download and use, many people dont bother to upgrade their browsers. they still stick to those IE 6.

    i dont know why.

    Microsoft should make it mandatory for all pc users to upgrade the browsers everytime on new release.

    vineet
     
    Last edited: Dec 10, 2009
    vinpkl, Dec 10, 2009 IP
  13. amitporeli

    amitporeli Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    you have to write different css for i6 and i7 to show same as other browsers.If you want to know more contact me.


     
    amitporeli, Dec 10, 2009 IP
  14. amitporeli

    amitporeli Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    contact me


     
    amitporeli, Dec 10, 2009 IP
  15. pkgelectricals

    pkgelectricals Peon

    Messages:
    58
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #15
    use outline css...
    assign the width nd height in '%' values///..
     
    pkgelectricals, Dec 26, 2009 IP
  16. togu25

    togu25 Peon

    Messages:
    157
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #16
    IE 6 has many bug in CSS code, i also often having a problem like you. you can try IE8, many bugs has fix on there
     
    togu25, Dec 26, 2009 IP
  17. m7md_cis

    m7md_cis Peon

    Messages:
    91
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #17
    For IE6 use _ sign.
    For IE7 use * sign.

    - Example:
    
    .style{
    _padding:10px; /*For IE6*/
    *padding:8px; /*For IE7*/
    padding:5px; /*For other browsers*/
    }
    
    Code (markup):
    Best Regards,
    Mohammad
    www.ehome-jo.com
     
    m7md_cis, Dec 27, 2009 IP