Previous Message
Next Message

Re: Dropdowns in inline elements, and CSS validator problems

Sent by Sam Partington on 26 September 2005 18:06


>   <link rel="stylesheet" href="./styles/base.css" type="text/css" />
>   <link rel='stylesheet' href="./styles/test.css" />
>   <link rel='stylesheet' href='./styles/blue.css' type="text/css"
> title='Standard' />
>
> The <link>'s with the ' type="text/css" ' attribute set were picked up
> by the w3c validator. The links without the type attribute set were
> not validated. The validator must be looking for the type attribute to
> determine what should be checked.

Spot on. Adding the type attribute fixed it, I wasn't even aware of
the possible use of that attribute for link tags to stylesheets.

The validator doesn't seem to be bothered about the './' in the links,
but thanks Steve for the suggestion.

It seems they must uploaded a new validator, because not only has that
all changed without my having done anything, but by default I now get
a load of warnings [1] that I didn't get before.

And wheras I used to get a warning about overflow-y [2] not being
valid for CSS 2.1, it was only a warning before, whereas it is now by
default an error unless I specify profile=css3.

I guess I'm going to have to either server up different css to IE, or
find some other work around.

Thanks very much all, its lovely to have all [3] my tests passing again :-)

Sam

[1] All background-color not specified.
[2] I use overflow-y to avoid an IE scrollbar oddidty.
[3] Well, all of the ones in my control.
______________________________________________________________________
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: