+ Reply to Thread
Results 1 to 6 of 6
Like Tree4Likes
  • 3 Post By essellar
  • 1 Post By essellar

Thread: Need help & advice | HTML CSS non-compatibility issues @ Internet Explorer

  1. #1
    gdebojyoti.mail96 is offline x10Hosting Member gdebojyoti.mail96 is an unknown quantity at this point
    Join Date
    Mar 2011
    Posts
    57

    Exclamation Need help & advice | HTML CSS non-compatibility issues @ Internet Explorer

    I am creating a template "Metallica". It can be seen at http://www.debojyotighosh.com/labs/metallica

    The page looks quite good when viewed using Firefox, Chrome or Opera. But it looks really horrible when viewed using Internet Explorer 9.

    I understand that IE9 does not support rounded corners, div shadows, text shadows. But I was surprised (and pretty annoyed) when I found that even the divs were not rendered correctly and there were uneven gaps in some places.
    As I said just before, the entire thing looks horrible in IE9.

    Snapshot of Internet Explorer 9 view: http://www.debojyotighosh/labs/metal...allica-ie9.png

    Snapshot of Firefox 9 view: http://www.debojyotighosh/labs/metal...allica-ff9.png

    The views from Chrome and Opera are almost the same as that from FF.

    The CSS file for the template is located at http://www.debojyotighosh/labs/metal.../css/style.css


    Please advise how to correct the problems and make my site look the same in IE(6,7,8,9), too. Also tell me how to find an alternative to the rounded corners, div shadows and text shadows.

    You can also give me some links to related solutions.

    Thanks in advance.
    Attached Thumbnails Attached Thumbnails Need help & advice | HTML CSS non-compatibility issues @ Internet Explorer-metallica-ie9.png   Need help & advice | HTML CSS non-compatibility issues @ Internet Explorer-metallica-ff9.png  

  2. #2
    blackdev is offline x10Hosting Member blackdev is an unknown quantity at this point
    Join Date
    Jan 2012
    Location
    Tandarei, Romania
    Posts
    7

    Re: Need help & advice | HTML CSS non-compatibility issues @ Internet Explorer

    What exactly is the code for the background? I saw that you used the image 2.png for the background. Give us more details.

    ---------- Post added at 08:05 PM ---------- Previous post was at 07:58 PM ----------

    What exactly is the code for the background? I saw that you used the image 2.png for the background and probably you used the opacity attribute in CSS. For IE you may use this
    PHP Code:
    filter:alpha(opacity=40
    P.S. Sorry for double post but the "edit button" doesn't work.

  3. #3
    essellar's Avatar
    essellar is offline Community Advocate essellar has a spectacular aura about
    Join Date
    Feb 2010
    Location
    Toronto, Ontario, CA
    Posts
    1,153

    Re: Need help & advice | HTML CSS non-compatibility issues @ Internet Explorer

    I have no idea what version of IE9 you're using -- mine supports both border-radius and box-shadow with the standards (no prefix) notation (and using rgba values for box-shadow). No, it doesn't support text-shadow. But then, you aren't using a doctype declaration, so IE9 thinks you want it to pretend to be IE6 in quirks mode.

    Doctype declarations are not optional, people.
    “Beware of bugs in the above code; I have only proved it correct, not tried it.” --Donald Knuth
    "It was as if its architects were given a perfectly good hammer and gleefully replied, 'neat! With this hammer, we can build a tool that can pound in nails.'" -- Alex Papadimoulis (on TheDailyWTF.com)

  4. #4
    blackdev is offline x10Hosting Member blackdev is an unknown quantity at this point
    Join Date
    Jan 2012
    Location
    Tandarei, Romania
    Posts
    7

    Re: Need help & advice | HTML CSS non-compatibility issues @ Internet Explorer

    Quote Originally Posted by essellar View Post
    I have no idea what version of IE9 you're using -- mine supports both border-radius and box-shadow with the standards (no prefix) notation (and using rgba values for box-shadow). No, it doesn't support text-shadow. But then, you aren't using a doctype declaration, so IE9 thinks you want it to pretend to be IE6 in quirks mode.

    Doctype declarations are not optional, people.
    Oh god, this is sure the problem. I do not thought about it.
    Last edited by blackdev; 01-17-2012 at 02:26 PM.

  5. #5
    essellar's Avatar
    essellar is offline Community Advocate essellar has a spectacular aura about
    Join Date
    Feb 2010
    Location
    Toronto, Ontario, CA
    Posts
    1,153

    Re: Need help & advice | HTML CSS non-compatibility issues @ Internet Explorer

    See? Adding the doctype fixes IE9, and IE8, though imperfect, won't be horrible. Honestly, I'd suggest forgetting about IE7 and IE6 — even Microsoft wants to forget about IE6 — beyond making the site function at the most basic level. You can use Modernizr for some things (loading it with conditional comments), but I wouldn't go out of my way; the only people who are actually stuck with IE6 and IE7 are the same people who are stuck behind corporate firewall/proxies that won't let them visit anything other than a few IT-Department-approved websites. Everyone else (and I'm talking about XP users here) will be able to make it up to IE8 or use a modern third-party browser (Chrome, Firefox, Opera or even Safari for Windows).

    You will want to make the site accessible to people who can't see the nice graphics, though. You won't have to worry about pixel-perfect layout or anything, but as long as your markup is semantic and sound, it will work in alternate browsers (like the Braille version of the Lynx browser), and if you use the appropriate ARIA microdata and consistently using appropriate alt attributes, you will make things a lot easier on users of text-to-speech technologies like JAWS. (And you will also be doing more SEO by making your site accessible than you will by "doing SEO".)
    gdebojyoti.mail96 likes this.
    “Beware of bugs in the above code; I have only proved it correct, not tried it.” --Donald Knuth
    "It was as if its architects were given a perfectly good hammer and gleefully replied, 'neat! With this hammer, we can build a tool that can pound in nails.'" -- Alex Papadimoulis (on TheDailyWTF.com)

  6. #6
    gdebojyoti.mail96 is offline x10Hosting Member gdebojyoti.mail96 is an unknown quantity at this point
    Join Date
    Mar 2011
    Posts
    57

    Re: Need help & advice | HTML CSS non-compatibility issues @ Internet Explorer

    Thanks for the advice. This forum is awesome.. And that's just because there are helpful and knowledgeable guys like you all.
    Thanks again.

+ Reply to Thread

Similar Threads

  1. PHP issues with IE (internet explorer)
    By mbtforum in forum Programming Help
    Replies: 3
    Last Post: 02-07-2010, 03:03 AM
  2. internet explorer 8
    By pbmuja in forum Computers & Technology
    Replies: 21
    Last Post: 08-14-2009, 10:03 AM
  3. Internet Explorer 8 HTML Issue
    By drakenmul in forum Programming Help
    Replies: 3
    Last Post: 05-01-2009, 01:49 AM
  4. Internet Explorer compatibility
    By Teensweb in forum Programming Help
    Replies: 4
    Last Post: 08-25-2008, 01:31 AM
  5. A New Internet Explorer!!!
    By cloud2se in forum Crossfire
    Replies: 1
    Last Post: 10-20-2006, 02:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers