DOM Scripting comments: ABBRacadabra http://domscripting.com/blog/display/113 Internet Explorer can be coerced into supporting elements. en Zeb http://domscripting.com/blog/display.php/113#comment978 I tried it and it worked. nice trick

]]>
Sat, 23 Feb 2008 14:59:14 GMT
Maria http://domscripting.com/blog/display.php/113#comment977 Thanks Jeremy! really a helpful tip

]]>
Sat, 23 Feb 2008 12:22:34 GMT
Margret http://domscripting.com/blog/display.php/113#comment976 Neat little trick for IE, thanks for sharing it.

]]>
Wed, 20 Feb 2008 02:47:38 GMT
Sierra http://domscripting.com/blog/display.php/113#comment975 I agree it don’t need to be writed in Errata but thanks for sharing it with us.

]]>
Tue, 19 Feb 2008 00:59:28 GMT
Ramses http://domscripting.com/blog/display.php/113#comment974 Hi Jeremy, thanks for that share

]]>
Sun, 17 Feb 2008 17:17:52 GMT
DJ http://domscripting.com/blog/display.php/113#comment973 Good

]]>
Fri, 15 Feb 2008 20:50:09 GMT
Susan http://domscripting.com/blog/display.php/113#comment972 It is a good tip. When I start working on a site, I will use it…

]]>
Thu, 14 Feb 2008 12:17:09 GMT
Rick http://domscripting.com/blog/display.php/113#comment971 This is not just an IE quirk! If you use document.createElement("dufus") as above, the <dufus> tag will then be usable your document and show up in the browser. You can use it and style it as if it was a W3C HTML defined tag. Just be sure to use display: inline or display: block ( or … ) in the CSS!

This works in IE6, Firefox 2.0.0.12 and Opera 9.25

The older, more involved, way to get IE6 ( and below) to recognize is to use an XML namespace in your XHTML document. The <html> tag would look like this:

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

The two namespaces are different according to the XMLNS spec, even though their URI’s resolve to the same place. You could then do this:

&lthtml:abbr> title="HyperText Markup Language">HTML</html:abbr>

to get IE to recognize the <abbr> tag.

]]>
Mon, 11 Feb 2008 20:09:00 GMT
Gary Barber http://domscripting.com/blog/display.php/113#comment970 That is Gold, just pure gold. Good find

]]>
Sun, 10 Feb 2008 05:29:20 GMT
TMaxim http://domscripting.com/blog/display.php/113#comment969 If you ever really release a book "Hacks for Internet Explorer" like Rob suggested let us know too!

]]>
Thu, 07 Feb 2008 08:27:49 GMT
filmmeister http://domscripting.com/blog/display.php/113#comment968 Hi Jeremy, thanks for that info! If you ever really release a book "Hacks for Internet Explorer" like Rob suggested let us know!

]]>
Wed, 06 Feb 2008 20:40:08 GMT
Lucas http://domscripting.com/blog/display.php/113#comment966 Great Stuff. Thx a lot for sharing. Best Regards for author.

I have been looking for this info long time

]]>
Wed, 06 Feb 2008 14:33:40 GMT
Andy http://domscripting.com/blog/display.php/113#comment965 Thank you. Your site one of the best that I saw

]]>
Wed, 06 Feb 2008 13:24:29 GMT
Gordon Brander http://domscripting.com/blog/display.php/113#comment964 Wow. Filing that one away. Thanks Jeremy.

]]>
Tue, 05 Feb 2008 17:32:31 GMT
ckinfo http://domscripting.com/blog/display.php/113#comment963 Great post. Thanks for keeping the web development community up to date. Thanks ckinfo

]]>
Mon, 04 Feb 2008 20:51:35 GMT
Elaine Nelson http://domscripting.com/blog/display.php/113#comment961 I don’t know…I think it might be worth adding to the errata just so people who read the book (but not this blog!) discover that very useful little quirk. I don’t have any use for it now but will definitely be keeping it in the back of my head for the future.

]]>
Wed, 30 Jan 2008 16:57:11 GMT
Graham Peel http://domscripting.com/blog/display.php/113#comment960 Awesome find, Jeremy! This might mean the end of the acronym tag workaround for IE abbr’s. Also, if you want to imitate the dashed border that’s present by default on abbr tags in Firefox, then use a style like this to make it work in IE:

border-bottom: dashed 1px #ccc; _display:inline-block

By default, IE won’t let you apply top or bottom borders to inline level elements unless you give it display: inline-block.

]]>
Tue, 29 Jan 2008 16:06:07 GMT
Jeremy Keith http://domscripting.com/blog/display.php/113#comment959 Jeff, they’re not "screwed"—they just don’t get the script or the style which, because I’m using progressive enhancement, isn’t a dealbreaker.

]]>
Tue, 29 Jan 2008 14:32:02 GMT
Jeff http://domscripting.com/blog/display.php/113#comment958 The thing that everyone has forgotten in all this are users that have Javascript turned off— script and style away, but your non-js users are screwed.

]]>
Tue, 29 Jan 2008 13:45:10 GMT
Rob http://domscripting.com/blog/display.php/113#comment957 Gee. You could start something and call it "Hacks for Internet Explorer"! How novel.

]]>
Mon, 28 Jan 2008 22:18:57 GMT
Mats Lindblad http://domscripting.com/blog/display.php/113#comment956 I had to add it to the document to get it to work…

]]>
Mon, 28 Jan 2008 22:08:50 GMT