![]() | |
#1
| |||
| |||
|
|
Why are they so called? I can understand the style bit. But they're not cascading in any shape or form. And as for sheets, that's a bit optimistic, since you can have an external file / sheet of CSS instructions, but it doesn't really merit that description. |
#2
| |||
| |||
|
|
The "Cascading" part refers to "inheritance". |
|
Inline styling takes precedence over the style sheet on the page, the page style sheet takes precedence over an external style page. |
#3
| |||
| |||
|
|
Info_Junkie <mrj7777777 (AT) yahoo (DOT) com> scripsit: The "Cascading" part refers to "inheritance". No it doesn't. Inline styling takes precedence over the style sheet on the page, the page style sheet takes precedence over an external style page. Under some circumstances, perhaps. And this has nothing to do with inheritance. To learn to understand CSS concepts, try reading a book or an online tutorial or specification - and if problems remain, ask in a group devoted to stylesheets, not HTML. |
#4
| |||
| |||
|
|
I can recommend the following book, it is nicely written and I don't know why, but the authors with quite unlikely names, seem to know what they are talking about: Cascading Style Sheets by Hakon Wium Lie & Bert Bos. |
#5
| |||
| |||
|
|
dorayme wrote: I can recommend the following book, it is nicely written and I don't know why, but the authors with quite unlikely names, seem to know what they are talking about: Cascading Style Sheets by Hakon Wium Lie & Bert Bos. Read the CSS spec too, particularly the contributors' names. |
#6
| |||
| |||
|
|
Cascading Style Sheets by Hakon Wium Lie & Bert Bos. I got this book out from my local library because it was obvious it was well written. |
![]() |
| Thread Tools | |
| Display Modes | |
| |