In article <CdYdb.22970$ev2.4400087@newssrv26.news.prodigy.co m> in
comp.infosystems.
www.authoring.stylesheets, Dave Mausner
<net.ameritech@dmausner> wrote:[color=blue]
>the html 4.01 standard says i can use:
><link type="text/css" href=file-name>[/color]
Not quite. It's href="URL" not href=file-name. The style sheet can
be anywhere.
[color=blue]
>to include a style section. questions:
>
>1. does the external style sheet have to contain <html> ... </html>?[/color]
On the contrary, it must not.
[color=blue]
>2. does it have to contain <style> ... </style>?[/color]
On the contrary, it must not.
[color=blue]
>3. is <link> recognized within html page <style>?[/color]
No.
[color=blue]
>4. is the <link href> a relative url, i.e., just a file name, or must it be
>fully qualified?[/color]
It is a URL, which could be relative or absolute. You seem to think
that "relative URL" = "file name", and that is not true at all.
"../../abc/def/xyz.css" is a relative URL.
[color=blue]
>finally could you post a working tag example that includes an external style
>sheet in your html? thanks.[/color]
I can do better: I can show you the document you will wish you had
read before posting your questions:
http://www.htmlhelp.com/reference/css/style-html.html
--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec:
http://www.w3.org/TR/html401/
validator:
http://validator.w3.org/
CSS 2 spec:
http://www.w3.org/TR/REC-CSS2/
2.1 changes:
http://www.w3.org/TR/CSS21/changes.html
validator:
http://jigsaw.w3.org/css-validator/