Like said before I may have confused the issues in my head. +1 for your commits and thx for the links and explanation.
salu2 El mar, 29-11-2005 a las 18:00 +0100, Johannes Schaefer escribió: > Hi! > > We need to differntiate two things: HTML and CSS. > > In HTML all elements may have *more than one class* assigned, > like > <p class="quote poem"> > > In CSS these may be formatted independently like Ross pointed out: > .quote {text-indent: 3em;} > .poem {text-align: center;} > > In CSS: If you do > .quote .poem { text-indent: 3em; text-align: center; } > this means something different: > "elements with class 'poem' *below* elements with class 'quote'" > > Note that " " (Space) means something different in HTML and CSS. > > So, I believe that my suggestion/commit is perfectly fine. > > The best reference I know is [0] (unfortunately mostly in German), > esp. the "Kurzreferenz HTML/CSS". > About browsers not supporting see [1]. > Other references below. > > Johannes > > [0] http://www.selfhtml.org/ (unfortunately mostly in German) > [1] http://css-discuss.incutio.com/?page=MultipleClasses > [2] http://www.quirksmode.org/css/multipleclasses.html > [3] http://dhtmlkitchen.com/learn/css/multiclass/ > [4] http://www.w3.org/TR/html401/struct/global.html#h-7.5.2 > [5] http://www.w3.org/TR/REC-CSS2/selector.html > > > Ferdinand Soethe schrieb: > > Hi Johannes, > > > > glad you brought this up as I was playing with the idea of using it as > > well. > > > > And I had the same question marks about browsers not supporting > > it. But I'd use it anyway and expect browsers to live up to standards. > > Especially if there are very few other options to do what you are > > trying to do. > > > > -- > > Ferdinand Soethe > > > > > > -- thorsten "Together we stand, divided we fall!" Hey you (Pink Floyd)