Css Sprite not Working in IE 6 AND 7

Discussion in 'CSS' started by ayyappansan, Oct 26, 2009.

  1. #1
    Dear Friend,


    i implemented css sprites in application .css sprites working all browsers and except IE6 And IE6

    My Html Tages
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Http - Https Test</title>
    </head>
    <link href="csssprites.css" rel="stylesheet" type="text/css" />
    <body>
    <div class="follow_us_blogger"></div>
    </html>
    
    
    Code (markup):

    My CSS Pages

    
    .follow_us_blogger 
    {
    background: no-repeat url('/design/csssprites/follow_us.png') 0 0px;
    width: 100px; 
    height: 31px;} 
    
    
    Code (markup):

     
    ayyappansan, Oct 26, 2009 IP
  2. m30

    m30 Guest

    Messages:
    116
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Does in validate in strict xhtml?
     
    m30, Oct 29, 2009 IP
  3. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Why, what difference would this make, his doc is in 4.01 ? So hopefully it doesnt'!

    @ayy - I notice you missing a closing </body> which might have an effect on the rendering in IE7/6
     
    wd_2k6, Oct 29, 2009 IP