> my doctype is xhtml1-strict.dtd but I'm using xml tags freely in my
> I *really* hate having to do:
> <div class="chapter_title">Chapter 1</div>
> (hrm... looks suspiciously like font tags, don't it?)
> So I just did:
> <chapter_title>Chapter 1</chapter_title>
> (me love'm XML)
> IE is obviously dropping all the tags that aren't defined as HTML tags
> the CSS never gets applied. can I tell IE that this is an XML
> that it's ok to just style the content the way I say? :-) the
> course, is that without a special "head" and "body" tag it would be
> make the xml I'm using be browser-pretty.
(caveat: I don't use XML, I don't *know* XML for sure)
I think if you're going to use your own tags, you probably should write
your own DTD - at least, one that includes the ones you've invented.
What's wrong with <h1>... etc., for what you're trying to do, though?