- From: Liam Quinn <liam@htmlhelp.com>
- Date: Mon, 25 Mar 2002 00:42:51 -0500 (EST)
- To: Jeff Marcus <jefflmar@attbi.com>
- cc: <www-validator@w3.org>
On Mon, 25 Mar 2002, Liam Quinn wrote: > On Sat, 23 Mar 2002, Jeff Marcus wrote: > > > I have a style sheet that uses a construct like body.xxx {}. I link in > > the stylesheet in the <head></head> section of my html. The validator > > seems to think that the "body" it sees in the stylesheet is a body tag > > in my html document. It consequently shows a parse tree with a <body> > > tag starting at whatever point I link the stylesheet. > > It's hard to help without seeing the HTML document in question. Perhaps > you're using an embedded style sheet but you forgot the <style> tag? Here's a better guess: You're using XML syntax in an HTML document. In HTML, you should use <link rel="stylesheet" href="foo" type="text/css"> instead of <link rel="stylesheet" href="foo" type="text/css" /> The latter is for XHTML and is not compatible with HTML. -- Liam Quinn
Received on Monday, 25 March 2002 00:42:23 UTC