Re: [css-d] Help with the C in CSS

2008-04-08 Thread Michael Adams
On Mon, 07 Apr 2008 23:21:26 +0200 Ingo Chao wrote: Michael Adams wrote: ... Then you have four factors involved which should be taken into account in the following order: weight, origin, specificity, sort order. But you didn't ask about them CSS 2.1:6.4.1 -4 says: if two

Re: [css-d] Help with the C in CSS

2008-04-08 Thread David Laakso
tedd wrote: John wrote: Any suggestions on a spot on line with a good explanation of the cascading relationship(s)? This is a simplistic explanation of the cascade [1]. I would not discourage anyone from attempting to learn anything as complex as the cascade.

[css-d] Help with the C in CSS

2008-04-07 Thread John
I have been using CSS for a couple years now, but most of what I've done is emulate code I've seen and bang it into the form I need it to be. Often this works mostly, but then a certain situation or another's computer will reveal embarrassing rookie mistakes. In addition to simply racking

Re: [css-d] Help with the C in CSS

2008-04-07 Thread Gunlaug Sørtun
John wrote: Any suggestions on a spot on line with a good explanation of the cascading relationship(s)? For a complete picture I think the source is best... http://www.w3.org/TR/CSS21/cascade.html#cascade regards Georg -- http://www.gunlaug.no

Re: [css-d] Help with the C in CSS

2008-04-07 Thread Jack Timmons
John, From my personal experience, I first always recommend others take a look over at HTMLDog (1) and get to know the tutorials going on there. Second thing I always aim for is consistent markup through your pages. If you're building each webpage with a different naming structure, you can't

Re: [css-d] Help with the C in CSS

2008-04-07 Thread Alan Gresley
John wrote: I have been using CSS for a couple years now, but most of what I've done is emulate code I've seen and bang it into the form I need it to be. Often this works mostly, but then a certain situation or another's computer will reveal embarrassing rookie mistakes. In addition

Re: [css-d] Help with the C in CSS

2008-04-07 Thread Jukka K. Korpela
Gunlaug Sørtun wrote: John wrote: Any suggestions on a spot on line with a good explanation of the cascading relationship(s)? For a complete picture I think the source is best... http://www.w3.org/TR/CSS21/cascade.html#cascade I'm afraid specifications (or draft specifications) aren't

Re: [css-d] Help with the C in CSS

2008-04-07 Thread Michael Adams
On Mon, 07 Apr 2008 12:13:52 -0700 John wrote: I have been using CSS for a couple years now, but most of what I've done is emulate code I've seen and bang it into the form I need it to be. Any suggestions on a spot on line with a good explanation of the cascading relationship(s)? A

Re: [css-d] Help with the C in CSS

2008-04-07 Thread Ingo Chao
Michael Adams wrote: ... Then you have four factors involved which should be taken into account in the following order: weight, origin, specificity, sort order. But you didn't ask about them CSS 2.1:6.4.1 -4 says: if two declarations have the same weight, origin and specificity, the

Re: [css-d] Help with the C in CSS

2008-04-07 Thread tedd
John wrote: I have been using CSS for a couple years now, but most of what I've done is emulate code I've seen and bang it into the form I need it to be. Often this works mostly, but then a certain situation or another's computer will reveal embarrassing rookie mistakes. In addition

Re: [css-d] Help with the C in CSS

2008-04-07 Thread Gunlaug Sørtun
Ingo Chao wrote: CSS 2.1:6.4.1 -4 says: if two declarations have the same weight, origin and specificity, the latter specified wins. This sounds clear, but ... what exactly is meant by weight? Weight itself is a conceptual thing in the cascade, and a weight is only larger, smaller or