HighDots Forums  

Re: "Cascading Style Sheets"?

alt.html alt.html


Discuss Re: "Cascading Style Sheets"? in the alt.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Info_Junkie
 
Posts: n/a

Default Re: "Cascading Style Sheets"? - 09-08-2006 , 02:03 AM







Max (AT) Volume (DOT) com wrote:
Quote:
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.
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.

Info_Junkie



Reply With Quote
  #2  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: "Cascading Style Sheets"? - 09-08-2006 , 02:22 AM






Info_Junkie <mrj7777777 (AT) yahoo (DOT) com> scripsit:

Quote:
The "Cascading" part refers to "inheritance".
No it doesn't.

Quote:
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.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/



Reply With Quote
  #3  
Old   
dorayme
 
Posts: n/a

Default Re: "Cascading Style Sheets"? - 09-08-2006 , 03:06 AM



In article <x_7Mg.6863$Ql1.251 (AT) reader1 (DOT) news.jippii.net>,
"Jukka K. Korpela" <jkorpela (AT) cs (DOT) tut.fi> wrote:

Quote:
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.
Damn... what are you doing up Korpela? This is the Southern
Hemisphere help desk shift. [God help everyone... when I am on it
alone... :-) ]

Cascading has more to do with the idea of different style sheets
relating to a document, there being rules that determine which
css instruction applies when there is a 'conflict' between
sheets. The settlement of such 'conflict' is arbitrated
especially according to the order in which the sheets are
specified (as in the head) but there are other criteria too...

This is a different idea to inheritance. Inheritance is a concept
that operates even within parts of perhaps the single only sheet.
To determine what things a child will inherit, one must find the
parent. Finding the true parent involves fossicking about through
the sheets and attending to the cascading rules. This is where
some confusion can arise about the two ideas.

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.

--
dorayme


Reply With Quote
  #4  
Old   
Andy Dingley
 
Posts: n/a

Default Re: "Cascading Style Sheets"? - 09-08-2006 , 06:31 AM




dorayme wrote:

Quote:
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.



Reply With Quote
  #5  
Old   
dorayme
 
Posts: n/a

Default Re: "Cascading Style Sheets"? - 09-08-2006 , 04:02 PM



In article
<1157711494.672677.288680 (AT) d34g2000cwd (DOT) googlegroups.com>,
"Andy Dingley" <dingbat (AT) codesmiths (DOT) com> wrote:

Quote:
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.
I know what you mean. The information you refer to is actually in
the book itself. I got this book out from my local library
because it was obvious it was well written. It started to
interest me that they wrote in such a clear manner and yet
obviously had this rather impressive grasp. I was also impressed
by the low key factual manner of their tract, no strident
advocacy. That alerted me to a hidden power, a confidence. I am
not kidding you. The two things are not always connected in
teachers! And I recall looking the book up and down for more info
on them, there was stuff somewhere, on the blurb or inside
cover...

--
dorayme


Reply With Quote
  #6  
Old   
Andy Dingley
 
Posts: n/a

Default Re: "Cascading Style Sheets"? - 09-08-2006 , 04:43 PM




dorayme wrote:

Quote:
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.
Still my favourite CSS book.

I'm planning to read Hakon Lie's PhD thesis this weekend (link posted
recently).



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.