CSS and PNG errors help

Discussion in 'CSS' started by rdsegan, Apr 7, 2011.

  1. #1
    Dear DP CSS pros,

    First of all, thank you so much to spend your time reading this and your intention to help me out.

    I'm trying to fix CSS errors on our company website but there are a lot of errors that is related to PNG files.

    For example:


    .img_Logo { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/logo.png', sizingMethod='scale'); background-repeat:no-repeat; height:42px; width:353px; border:0;}
    *[class="img_Logo"] {filter:none;background-image:url(../images/logo.png);}

    Can anyone help me to solve this problem?

    Thanks again.
     
    rdsegan, Apr 7, 2011 IP
  2. style0

    style0 Peon

    Messages:
    108
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    And what are the filers used for???
    Why not just load the logo.png as background graphic? What are ou trying to achieve with the filters?
     
    style0, Apr 7, 2011 IP
  3. rdsegan

    rdsegan Greenhorn

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #3
    We use the filters for I.E 6 on our earlier development. Was not aware that it is not required for newest version of IE. Thanks for the update... I will try to remove those filters and check again.
     
    rdsegan, Apr 8, 2011 IP
  4. style0

    style0 Peon

    Messages:
    108
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    just block ie 6 completely, it is tem years old. No need to code for it anymore
     
    style0, Apr 8, 2011 IP
  5. rdsegan

    rdsegan Greenhorn

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #5
    But, we still do have a lot visitors from our analytics view using IE6. How to overcome this problem?
     
    rdsegan, Apr 8, 2011 IP
  6. style0

    style0 Peon

    Messages:
    108
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    use a redirect to a page that tells them politely that their browser is so old that they cannot view the website, and list links to firefox, safari, chrome, opera and up-to-date IE as upgrade choices.
    Check this url to see what I usually present to people with older browsers:
    http://www.phpmelodyskins.com/demos/black_red_minim/oldbrowser/
     
    style0, Apr 8, 2011 IP
  7. ApocalypseXL

    ApocalypseXL Notable Member

    Messages:
    6,095
    Likes Received:
    103
    Best Answers:
    5
    Trophy Points:
    240
    #7
    Can you link the URL so we can have a look directly ?
     
    ApocalypseXL, Apr 8, 2011 IP
  8. rdsegan

    rdsegan Greenhorn

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #8
    We have more than 100,000 UV per month and it is totally not logical way for business to force our visitors to upgrade their browser.

    It will terribly effect our business and it is not a practical for this volume sites.

    Do you have any other recommendations?

    I prefer to have a IE6 friendly CSS and W3C CSS passed... is there any other way to get it both good at the same time?
     
    rdsegan, Apr 26, 2011 IP
  9. rdsegan

    rdsegan Greenhorn

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #9
    PMed you the URL details.

    I just want to find out ways to get our CSS errors fixed in W3C while not effecting IE6 users as most of our users still uses IE6 browser.

    Thank you so much for looking into this.
     
    rdsegan, Apr 26, 2011 IP
  10. ApocalypseXL

    ApocalypseXL Notable Member

    Messages:
    6,095
    Likes Received:
    103
    Best Answers:
    5
    Trophy Points:
    240
    #10
    You need a full rewrite IMHO so the template will be site specific not CMS specific . For IE6 just implement JS/Flash forced upgrades .
     
    ApocalypseXL, Apr 26, 2011 IP
  11. rdsegan

    rdsegan Greenhorn

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #11
    Thanks for your response. Rewrite CSS codes? JS/Flash is not so SEO friendly. I prefer to use standard CSS coding that is W3C verified and gives good user experience to IE6 users and other version or platform browsers.

    Please suggest an idea to do this.
     
    rdsegan, Apr 29, 2011 IP
  12. ApocalypseXL

    ApocalypseXL Notable Member

    Messages:
    6,095
    Likes Received:
    103
    Best Answers:
    5
    Trophy Points:
    240
    #12
    JS & Flash have capabilities that are beyond even those of CSS 3 . Also JS & Flash are browser independent so you can make a nice site for those that use IE6 . SEO is another piece of cake .
     
    ApocalypseXL, Apr 30, 2011 IP
  13. sburst

    sburst Peon

    Messages:
    39
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Why on earth your using all that code I do not know, but with regards to your insistance to support a decade-old browser, just use an IE6 only css stylesheet?

    
    	<!--[if lte IE 6]>
    		<link rel="stylesheet" href="/ie6.css" type="text/css" media="screen" />
    	<![endif]-->
    
    Code (markup):
     
    sburst, May 11, 2011 IP