W3C home > Mailing lists > Public > www-validator@w3.org > November 2002

Re: How to do valid UL's in Tables?

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 23 Nov 2002 22:35:17 +0000 (GMT)
To: Aziz Matar <matar84@comcast.net>
Cc: "www-validator@w3.org" <www-validator@w3.org>, Olivier Thereaux <ot@w3.org>
Message-ID: <Pine.LNX.4.21.0211232230230.27979-100000@dhalsim.dreamhost.com>

On Sat, 23 Nov 2002, Aziz Matar wrote:
>
> When validating http://www.swiftglobal.com/newlayout/
>  
> "Error: element "ul" not allowed here; possible cause is an inline 
> element containing a block-level element"

The problem is the <font> element (you can't have <ul> inside <font>). And
yes, the answer is indeed to use CSS -- and not to use <font> at all. :-)

I recommend finding a CSS tutorial (or reading the CSS spec, see:
   http://www.w3.org/TR/CSS21/
...for the latest version).

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 23 November 2002 17:35:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:04 GMT