Hey folks,

Many of you may have seen this already, but I suspect many more have not. I recently stumbled across a situation where using the ID value "tags" caused IE/Win to crash when printing the page. Then I found out 37signals had had similar problems with a 'textarea' with the name "tags" when building Backpack. What it comes down to is that, thanks to IE/Win's 'document.all' DOM, there are at least a few ID values that are highly likely to cause problems in IE/Win-- that will be, in effect, reserved words despite the fact that there should be no such thing in ID values. I've written more about it here, including links to test cases:

   http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/

Since this is a markup and DOM thing, it doesn't really warrant discussion here on the list (people can always leave comments on the post itself if they want to talk about the situation). I'm only bringing it up here because of the deep link between IDs and styling, and the chance that someone might stumble over this problem. My strong recommendation is that even if you aren't scripting your pages, you avoid using the ID values "tags", "item", "namedItem", and "urns" (maybe that last would be a problem for "Six Feet Under" fandom sites?) until more is known about their side effects. Even if you aren't running scripts against the page, the OS might, as the print-crash problem revealed.

--
Eric A. Meyer  ([EMAIL PROTECTED])
Principal, Complex Spiral Consulting   http://complexspiral.com/
"CSS: The Definitive Guide," "CSS2.0 Programmer's Reference,"
"Eric Meyer on CSS," and more    http://meyerweb.com/eric/books/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to