![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
"Richard Barnet" <rbarnet (AT) csaNOSPAMreno (DOT) org> wrote in message news:bf1vbq$m8g$1 (AT) nnrp (DOT) atgi.net... "...if you have the following in a persistant stylesheet (as opposed to preferred or alternate):" |
#3
| |||
| |||
|
|
I think I may've stumbled across something... can you have more than one *preferred* stylesheet in effect at once? |
#4
| |||
| |||
|
|
When cascading (for instance, when applying two linked stylesheets), does the whole selector definition supercede and replace a previous one, or does it go through the selector definition line by line (rule by rule) and only supercede rules and attributes that are previously defined? |
|
The reason I'm asking is because in my limited experience, and in IE6 at least (haven't yet tested in Moz, etc.), it seems that the second "div.nav" definition completely wipes out the first one, which forces me to have to copy and paste quite a bit of redundant information from one stylesheet to another. |
#5
| |||
| |||
|
|
Yeah, I think it's pretty confusing. There are 'preferred', 'persistent', and 'alternate' stylesheets depending on the title and rel. Note that two stylesheets can have the same title in which case they should both apply. .... The idea behind this is that you have one preferred stylesheet and a few alternate ones that the readers can select (which they can, given a sufficiently advanced browser or a touch of javascript). |
#6
| |||
| |||
|
|
The reason I'm asking is because in my limited experience, and in IE6 at least (haven't yet tested in Moz, etc.), it seems that the second "div.nav" definition completely wipes out the first one, which forces me to have to copy and paste quite a bit of redundant information from one stylesheet to another. Shouldn't do. Example URL? |
#7
| |||
| |||
|
|
It would be nice to just present the user with either normal or largefonts, and their choice of skin. In other words, it would be nice if the W3C would take away the "mutually exclusive" rule, and let you stack alternate sheet upon alternate sheet ad infinitum (or ad nauseum). =) |
![]() |
| Thread Tools | |
| Display Modes | |
| |