HighDots Forums  

Re: Linking to external stylesheets

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: Linking to external stylesheets in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Quasimido CSS
 
Posts: n/a

Default Re: Linking to external stylesheets - 08-31-2005 , 11:26 PM







just a newbie here...
i've been trying to validate xhtml 1 strict, obviously different from your html 4.01
but

"Safalra" <usenet (AT) safalra (DOT) com> in news:1124476862.198767.164530
@z14g2000cwz.googlegroups.com:

Quote:
I've always linked to external stylesheets using a line like:

link rel="stylesheet" href="style.css" type="text/css"
you might need to add title="whatever" (is title a "link element"?)
and
last closing bracket might need slash?
css" />

Quote:
I recently installed the HTMLTidy extension for Firefox and it objected
to that line, saying:

"Access: [13.2.1.2]: Metadata missing (link element)
Priority 2
Cause:
If metadata is specified via the link element its value should be a
URI. It should not be used to access style sheets."

This makes no sense to me whatsoever - the HTML 4.01 specification
shows <link> being used to access external stylesheets. Also, from
where does this guideline originate, as it is more specific than WCAG
13.2?


i downloaded and use CSE HTML Validator Lite v6.5
and also use upload version of w3 validators.







Reply With Quote
  #2  
Old   
Spartanicus
 
Posts: n/a

Default Re: Linking to external stylesheets - 09-01-2005 , 02:41 AM






Quasimido CSS <QuasimidoCSS (AT) QuasiAnon (DOT) com> wrote:

Quote:
i've been trying to validate xhtml 1 strict, obviously different from your html 4.01
but

link rel="stylesheet" href="style.css" type="text/css"

you might need to add title="whatever"
No he doesn't.

Quote:
(is title a "link element"?)
The title *attribute* can be used with the link element
http://www.w3.org/TR/html4/present/styles.html#h-14.3.2

Quote:
and
last closing bracket might need slash?
css" /
No again. I question the wisdom of trying to give advice when you don't
know the answer yourself.

Quote:
i downloaded and use CSE HTML Validator Lite v6.5
Oh dear. CSE is not a validator.

--
Spartanicus


Reply With Quote
  #3  
Old   
Quasimido CSS
 
Posts: n/a

Default Re: Linking to external stylesheets - 09-04-2005 , 05:38 AM



Spartanicus <invalid (AT) invalid (DOT) invalid> in
news:5t7dh1hq7jtmhe2u18sheu9k8gtpadv2rp (AT) news (DOT) spartanicus.utvinternet.ie:

Quote:
Quasimido CSS <QuasimidoCSS (AT) QuasiAnon (DOT) com> wrote:

i've been trying to validate xhtml 1 strict, obviously different from
your html 4.01 but

link rel="stylesheet" href="style.css" type="text/css"

you might need to add title="whatever"

No he doesn't.

(is title a "link element"?)

The title *attribute* can be used with the link element
http://www.w3.org/TR/html4/present/styles.html#h-14.3.2

and
last closing bracket might need slash?
css" /

No again. I question the wisdom of trying to give advice when you
don't know the answer yourself.
it's not "advice". no one answered a question, i offered something to *try*. I've come
across solutions by beginning with an approach, then editing further. all of this stuff is
*very* unpredictable.

does that tidy metadata message suggest anything to you? (I've never tried tidy. but i'd
expect it to give line and char location for its err messages. if so, maybe op could
associate tidy's message with the text on that line?)

Quote:
i downloaded and use CSE HTML Validator Lite v6.5

Oh dear. CSE is not a validator.
could be. they chose that name, so it's good to know if they're being misleading. the
software finds typos, unclosed phrases, and does similar useful stuff. It's fast, then i
use the online upload "validator" (or whatever *it* really is :-) )




Reply With Quote
  #4  
Old   
Spartanicus
 
Posts: n/a

Default Re: Linking to external stylesheets - 09-04-2005 , 06:28 AM



Quasimido CSS <QuasimidoCSS (AT) QuasiAnon (DOT) com> wrote:

Quote:
and
last closing bracket might need slash?
css" /

No again. I question the wisdom of trying to give advice when you
don't know the answer yourself.

it's not "advice". no one answered a question, i offered something to *try*. I've come
across solutions by beginning with an approach, then editing further. all of this stuff is
*very* unpredictable.
If by "all of this stuff" you are referring to HTML then no it isn't
"*very* unpredictable". This issue is clearly defined in specifications,
all one needs to do to find out about correct syntax is to read these
specifications. No need to potentially further confuse the OP by
suggesting a trial and error method.

--
Spartanicus


Reply With Quote
  #5  
Old   
Spartanicus
 
Posts: n/a

Default Re: Linking to external stylesheets - 09-04-2005 , 09:12 AM



"Safalra" <usenet (AT) safalra (DOT) com> wrote:

Quote:
No need to potentially further confuse the OP by
suggesting a trial and error method.

Don't worry about me, I know the specifications.
Sorry about that, I didn't look who the OP was, it should have read
"other readers" instead of "the OP".

--
Spartanicus


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.