by fhamed
10 replies
  • WEB DESIGN
  • |
I am tired of fixing png for ie6 nothing scripts works. Please any best idea to fix png for ie6 also website misbehaving with ie6.
#ie6 #png #transparency
  • Profile picture of the author Brandon Tanner
    IE6 does not support transparent PNG's by default, but there are a few workarounds...

    24 ways: Transparent PNGs in Internet Explorer 6

    As for IE6 "misbehaving", well... that's what it has always done! There's a reason why it has consistently been voted as the worst browser ever.

    If it's important to you though, you can always create a separate stylesheet for IE6...

    HTML Code:
    <!--[if IE 6]> <link rel="stylesheet" type="text/css" href="ie6.css" /> <![endif]-->
    Signature

    {{ DiscussionBoard.errors[7323211].message }}
    • Profile picture of the author fhamed
      Originally Posted by Brandon Tanner View Post

      IE6 does not support transparent PNG's by default, but there are a few workarounds...

      24 ways: Transparent PNGs in Internet Explorer 6

      As for IE6 "misbehaving", well... that's what it has always done! There's a reason why it has consistently been voted as the worst browser ever.

      If it's important to you though, you can always create a separate stylesheet for IE6...

      HTML Code:
      <!--[if IE 6]> <link rel="stylesheet" type="text/css" href="ie6.css" /> <![endif]-->
      What necessary change should have if i create separate styles sheet for IE6? Today i tested my website with Adop browser lab. I see the same issue with IE6, 7, 8.

      Furthermore i added a map.png to home page which just appears with chrome but disappear with mozila. Do you understand what error could be?

      Visit site Business Web Directory*
      Signature
      App Development Company http://www.xandios.com - Constellix Dns http://www.constellix.com
      {{ DiscussionBoard.errors[7328273].message }}
      • Profile picture of the author Brandon Tanner
        Originally Posted by fhamed View Post

        What necessary change should have if i create separate styles sheet for IE6?
        It depends on the design, and will vary with each site. Oftentimes though it's simply a matter of tweaking the margin and/or padding for some of the div's.

        As per why your map image isn't showing up in some browsers, you are using backslashes in the image's path, when they should be forward slashes. Look for this line of code...

        <img alt="map" class="fright" src="\img\map.png" usemap="#region_map" />

        And change it to this...

        <img alt="map" class="fright" src="/img/map.png" usemap="#region_map" />

        Also, you have several other potential issues which may cause problems in some browsers. The biggest one is using tables for layout. That's a bad idea for many reasons.

        If you plug your site's URL into the W3C Validator, it will list some of the other potential issues...

        The W3C Markup Validation Service
        Signature

        {{ DiscussionBoard.errors[7329233].message }}
        • Profile picture of the author fhamed
          Originally Posted by Brandon Tanner View Post

          It depends on the design, and will vary with each site. Oftentimes though it's simply a matter of tweaking the margin and/or padding for some of the div's.

          As per why your map image isn't showing up in some browsers, you are using backslashes in the image's path, when they should be forward slashes. Look for this line of code...

          <img alt="map" class="fright" src="imgmap.png" usemap="#region_map" />

          And change it to this...

          <img alt="map" class="fright" src="/img/map.png" usemap="#region_map" />

          Also, you have several other potential issues which may cause problems in some browsers. The biggest one is using tables for layout. That's a bad idea for many reasons.

          If you plug your site's URL into the W3C Validator, it will list some of the other potential issues...

          The W3C Markup Validation Service
          I am amazed i didn't really noticed that backslash. Thank you so very much for taking time to help me out..
          Signature
          App Development Company http://www.xandios.com - Constellix Dns http://www.constellix.com
          {{ DiscussionBoard.errors[7330744].message }}
  • Profile picture of the author OldLodgeSkins
    Hi,

    Just a question... Why are you wasting your time and efforts with a dinosaur that represents like less than 1% of all browers worldwide? See StatCounter Global Stats - Browser, OS, Search Engine including Mobile Market Share
    Just put up a warning advising people to update their browser or use another one like FireFox or Chrome.

    Seb.
    Signature
    Do you use Facebook ? Then you can make money just by inviting people to a Facebook group ! It's called the Instant Income System. How cool is that?
    {{ DiscussionBoard.errors[7323307].message }}
    • Profile picture of the author Brandon Tanner
      Originally Posted by OldLodgeSkins View Post

      Hi,
      Just a question... Why are you wasting your time and efforts with a dinosaur that represents like less than 1% of all browers worldwide? See StatCounter Global Stats - Browser, OS, Search Engine including Mobile Market Share
      I don't think it's wise to rely on 3rd party stats to make decisions about your sites. My own stats for IE6 users are pretty low for most of my sites these days, because of the niches I'm in. But I have heard that in certain niches, IE6 users still make up a significant amount of the traffic.

      So... you should definitely check your own stats for each site to determine whether or not it's still worth considering your IE6 users. Besides, if you design your site correctly in the first place, then it usually only requires a few simple tweaks to make an IE6-compatible stylesheet.
      Signature

      {{ DiscussionBoard.errors[7323656].message }}
      • Profile picture of the author Istvan Horvath
        Originally Posted by Brandon Tanner View Post

        Besides, if you design your site correctly in the first place, then it usually only requires a few simple tweaks to make an IE6-compatible stylesheet.
        I wish everybody got this one sentence from this thread
        Signature

        {{ DiscussionBoard.errors[7323681].message }}
      • Profile picture of the author fhamed
        Originally Posted by Brandon Tanner View Post

        I don't think it's wise to rely on 3rd party stats to make decisions about your sites. My own stats for IE6 users are pretty low for most of my sites these days, because of the niches I'm in. But I have heard that in certain niches, IE6 users still make up a significant amount of the traffic.

        So... you should definitely check your own stats for each site to determine whether or not it's still worth considering your IE6 users. Besides, if you design your site correctly in the first place, then it usually only requires a few simple tweaks to make an IE6-compatible stylesheet.
        I agree with your points. That's why i want to fix error because my google analytic tools reports 8% users come from IE6.
        Signature
        App Development Company http://www.xandios.com - Constellix Dns http://www.constellix.com
        {{ DiscussionBoard.errors[7328280].message }}
  • Profile picture of the author fhamed
    Hi,
    Thanks for the replies. Another thing happens after i redesigned my directory. I added a png map from home page. See website Business Web Directory*. this looks fine with chrome but disappears in firefox. I don't understand what is it?
    Signature
    App Development Company http://www.xandios.com - Constellix Dns http://www.constellix.com
    {{ DiscussionBoard.errors[7323646].message }}
  • Profile picture of the author OldLodgeSkins
    I do have IE6 users too - at least, in appearance.
    It's also important to cross-reference their origin and their behaviour. In my case, for example, most IE6 users are from China, Ukraine, Russia. Some from the US. All stay only mere seconds on the pages (they switch from page to page real fast) and seem particularly interested in my forum even though then don't always manage to post... Conclusion: they're bots pretending to be IE6. Most are probably trying to spam and at the very least they're all messing up my stats and eating my bandwidth for nothing.

    I guess it could be a matter of circumstances though, but just relying on the browser's identification string is insufficient IMHO.

    Seb.
    Signature
    Do you use Facebook ? Then you can make money just by inviting people to a Facebook group ! It's called the Instant Income System. How cool is that?
    {{ DiscussionBoard.errors[7328553].message }}

Trending Topics