![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
I've always linked to external stylesheets using a line like: link rel="stylesheet" href="style.css" type="text/css" |
|
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? |
#2
| ||||
| ||||
|
|
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" |
|
(is title a "link element"?) |
|
and last closing bracket might need slash? css" / |
|
i downloaded and use CSE HTML Validator Lite v6.5 |
#3
| |||
| |||
|
|
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. |
|
i downloaded and use CSE HTML Validator Lite v6.5 Oh dear. CSE is not a validator. |
#4
| |||
| |||
|
|
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. |
#5
| |||
| |||
|
|
No need to potentially further confuse the OP by suggesting a trial and error method. Don't worry about me, I know the specifications. |
![]() |
| Thread Tools | |
| Display Modes | |
| |