View Full Version : where does CSS go?

12-03-2002, 02:37 PM
Is it okay to use a <link> for a style sheet in the body, or is this considered invalid and therefore potentially problematic?

12-03-2002, 03:37 PM
As I understand it either <link ... > or <style> ... </style> tags should only go in the head. You can't rely on it being parsed in the body. The body should only conatin in-line styles.

12-03-2002, 04:56 PM

This says it rather bluntly:

This element defines a link. Unlike A, it may only appear in the HEAD section of a document...

12-04-2002, 06:59 PM
thanks for the info

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum