Ingo Chao wrote:

> You are declaring two stylesheets as preferred (so the first one wins
> ?)

The first one indeed wins by HTML specifications. The specs are somewhat 
obscure, but the idea is that at most one style sheet can be "preferred", 
and you make a style sheet "preferred" by using rel="stylesheet" and a 
title="..." attribute (with any value), and if you have several such <link> 
elements, all but the first one are ignored.

This is insane if you ask me, and even if you don't, but the practical 
conclusion is that you should normally not use title="..." attribute in 
<link> elements for stylesheets, _unless_ you want to use alternate style 
sheets (with rel="alternate stylesheet"). When you remove those attributes, 
all the <link> elements with rel="stylesheet" will be used.

(This has nothing to do with the cascade, except that it affects the issue 
which stylesheets will participate in the cascade at all.)

Yucca 

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to