|
Posted by Rob Waaijenberg on 10/19/07 09:53
Robert Baer schreef:
> How can i fix this to get rid of the W3C complaint, but still have
> control of that font size (line 61 in code having 77 lines)?
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <!-- does NOT validate; bitches on use of size=6 and face="Arial"
> together -->
[snipped html code]
Didn't I ask you just a couple of days ago to provide links to online
pages instead of posting html-code.
And didn't I explain that it helps us helping you?
Because when we visit the online page we get to see the same things you see?
Now you complain about W3C "bitching on use of size=6 and face="Arial"
> together".
But that is not what the complaint is at all. Because in writing your
post you misrepresented the actual W3C-statement.
The actual complaint is
"The mentioned element is not allowed to appear in the context in which
you've placed it; the other mentioned elements are the only ones that
are both allowed there and can contain the element mentioned. This might
mean that you need a containing element, or possibly that you've
forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a
block-level element (such as "<p>" or "<table>") inside an inline
element (such as "<a>", "<span>", or "<font>")."
The validator is trying to guess what you did. And in doing that, come
up with suggestions.
There are a couple of things you did wrong:
- you've got a <tr></tr> without any cells
and
- you forgot to use a <p>-paragraph in the cell (that you don't have)
- You used <font ....> wihtout having an element that it applies to.
--
Rob Waaijenberg
Navigation:
[Reply to this message]
|