- From: Jukka K. Korpela <jkorpela@cs.tut.fi>
- Date: Sun, 28 Nov 2004 20:49:12 +0200 (EET)
- To: Mike Capps <mcapps@tampabay.rr.com>
- Cc: www-validator@w3.org
On Sun, 28 Nov 2004, Mike Capps wrote: > <td><font size="3" face="Americana" color="#000080"><dl> - - > The mentioned element is not allowed to appear in the context in which > you've placed it; Isn't the explanation pretty clear? The <dl> element is not permitted in the content of a <font> element. > there needs a way to keep the font attributes inside this list. What makes you think so? You can pollute the content of your <dt> and <dl> elements with <font> markup, if you wish to dig yourself deeper in a hole. Beware that if <dl> contains any block elements, you need to repeat <font> inside each of them, to satisfy validity requirements, since <font> content must be text and text-level markup only. There's a different way, and it means using CSS for presentation, and probably also getting rid of <table> for non-tabular data and of <dl> for non-definition lists. Validation will become much easier. -- Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Sunday, 28 November 2004 18:49:45 UTC