Previous Message
Next Message

Style Sheet Link in Body Tag?

Sent by David Dorward on 8 November 2005 15:03


On 08/11/05, Robin Whitman [EMAIL-REMOVED]> wrote:

> <style type="text/css"   >@import url(savedstyles/newstyle.css);   </style>

> 1. This appears in the <BODY> of the XHTML page, is that OK to be in
> the BODY and not in the HEAD?

No. It depends on browser error recovery routines.

> 2. Does this affect (apply styles to) only the HTML that appears after it?

No.

> 3. What does the > in the  >@import    do?

It finishes the <style> tag.
"<foo>" and "<foo          >" mean the same.

--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: