[css-d] link to a style sheet in the body of a page

2006-05-09 Thread Paul Collins
Hi all, Just wondering if anyone could let me know how to link to an external style sheet in the body of the page, using a method that validates and works for browsers back to Netscape 6, Opera 7, IE 5.0 on PC, IE 5.2 on Mac? Would appreciate your help. Paul

Re: [css-d] link to a style sheet in the body of a page

2006-05-09 Thread Paul Collins
Thanks for your reply Ian. I've got a navigation include coming from a third party. They've got their own style sheet for this and it is a part of the include. The include features in the body of the page and it all works OK using the CSS link way, but it doesn't validate. This is because you

Re: [css-d] link to a style sheet in the body of a page

2006-05-09 Thread Richard Allsebrook
From http://www.w3.org/TR/html4/struct/links.html#edef-LINK This element defines a link. Unlike A, it may only appear in the HEAD section of a document, although it may appear any number of times. Although LINK has no content, it conveys relationship information that may be rendered by user

Re: [css-d] link to a style sheet in the body of a page

2006-05-09 Thread Paul Collins
Thanks Ian, Yes, it does work with the full URL: it works fine in the body, but doesn't validate. The reason for including it in the body is so I can have a single include come from the third party, being called in the body of the document, which contains all HTML and styles for their nav.

Re: [css-d] link to a style sheet in the body of a page

2006-05-09 Thread Conny Andersson
On 5/9/06, Paul Collins [EMAIL PROTECTED] wrote: Just wondering if anyone could let me know how to link to an external style sheet in the body of the page, using a method that validates and works for browsers back to Netscape 6, Opera 7, IE 5.0 on PC, IE 5.2 on Mac? Well... as most people

Re: [css-d] link to a style sheet in the body of a page

2006-05-09 Thread Els
Paul Collins wrote: The reason for including it in the body is so I can have a single include come from the third party, being called in the body of the document, which contains all HTML and styles for their nav. This would keep things a little cleaner instead of me adding their style sheet