Yeah, intersecting if you will, is improper HTML coding. I can't even think
of a reason why you would want to do that...
--Original Message--
From: Karl DeSaulniers
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: Re:
You are all right. Mixing styles this way breaks HTML/XML hierarchy
and it's not a good idea. I am writing a piece of code that converts
[b]..[/b] and [i]..[/i] to HTML bold and italic tags. I was trying to
figure out if I should allow intersecting styles. For some reason,
browsers support this
If you're mixing XML and HTML, you should just enclose the HTML inside
of CDATA tags, then it's not an issue as any proper XML parser will
ignore it as XML structure and treat it as a string.
Jason Merrill
Bank of America Global Learning
Learning Performance Soluions
Join the Bank of
3 matches
Mail list logo