-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Brown Sent: Wednesday, July 23, 2008 9:26 AM To: Philippe Wittenbergh Cc: CSS-D; Sharon Go Subject: Re: [css-d] Weird h2-in-a-dt-element behaviour...
Philippe Wittenbergh wrote: > On Jul 23, 2008, at 9:57 PM, Sharon Go wrote: >> So I added the h2. And for some weird reason, FF dumps the h2 >> *outside* the dt!! >> You can see an example here: >> http://goxsha.googlepages.com/dl-test-file.htm > Maybe Firefox isn't _that_ wrong: Hopefully, the "higher ups" understand the unpredictable nature of invalid code and will allow you to do something else instead. ---------- Is it that the "higher ups" absolutely insist on an H2 tag or they want the styling and font size of the H2? You could always use a span with an id tag and style it the same as the h2, which would be valid code then and which wouldn't be using the H2 tag for what it wasn't intended - a visual effect instead of a semantic one. Dennis ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/