Hey there, this site is pretty old now. I've decided to leave it up as I put a lot of work into it and would hate to see it disappear.

Display Tags For 'internet explorer'

Internet Explorer 8 Passes Acid 2 Test

Neal Grosskopf
12/19/2007 12:00:00 AM
From the IE blog they report that Internet Explorer will pass the Acid 2 css rendering test. This is great news considering IE has always lacked in supporting CSS. Ironically this comes a week after Opera files a compliant to the European Union stating that IE does not support web standards.

How To Serve XHTML to Internet Explorer 6 And 7 as XML Using Content Negotiation

Neal Grosskopf
1/24/2008 9:02:24 PM

It seems that XHTML is all the craze now days. Unfortunately very few developers and designers are using it correctly and taking full advantage of it. So why is this?

XHTML can be served as text or XML. It seems that 90% of sites using XHTML are serving it as XML but are failing to serve it correctly to Internet Explorer as XML. Never fear, there is a solution.

So why bother serving it as XML to Internet Explorer? If you do it will mean that your html code will appear as XML and will have to adhere to XML standards. This means that you can be sure the code you are using is extremely compliant. It will also mean that if your page is not valid, it will not display without error. It's an annoying but great way to keep your code clean

Follow these steps:

  1. Serve your page as application/xml to Internet Explorer and as application/xhtml+xml to every other browser:

    If InStr(Request.ServerVariables("HTTP_ACCEPT"), "application/xhtml+xml") > 0 Then Response.ContentType = "application/xhtml+xml" Else Response.ContentType = "application/xml" End If
  2. Use a special .xsl file at the top of your page above your doctype:

    <?xml-stylesheet type="text/xsl" href="xhtml.xsl"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    Contents of xhtml.xsl file:

    <stylesheet version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform"> <template match="/"> <copy-of select="."/> </template> </stylesheet>
  3. Add html element to page:

    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

Putting it all together:

<% If InStr(Request.ServerVariables("HTTP_ACCEPT"), "application/xhtml+xml") > 0 Then Response.ContentType = "application/xhtml+xml" Else Response.ContentType = "application/xml" End If Response.Charset = "utf-8" %> <?xml-stylesheet type="text/xsl" href="xhtml.xsl"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>XHTML</title> </head> <body> </body> </html>



Internet Explorer 8 Beta 1 CSS Improvements

Neal Grosskopf
3/5/2008 12:00:00 AM
A list of CSS improvements in IE 8. I haven't had a chance to look it over yet, but I am very excited to see how much more compliant the browser will be.

Bugs Fixed For Internet Explorer 7

Neal Grosskopf
10/31/2006 12:00:00 AM
A list of rendering bugs fixed in Internet Explorer 7

Internet Explorer CSS Attributes Listing

Neal Grosskopf
6/4/2008 12:00:00 AM
A complete listing of attributes supported by Internet Explorer as well as what versions support which attributes. There are a few proprietary attributes I found interesting one called "accelerator" and another called "zoom".

<< Back