Topic: CSS Subclassing (div tag) (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Phoenix |
posted 05-24-2002 20:46
Okay... I'm pretty new to the whole CSS thing. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 05-24-2002 21:43
Karl: You are probably complicating matters for yourself here: code: div.units { }
code: div.units, div.unitsBackorder, div.unitsInstock, div.unitsAvailable { }
|
Bipolar (III) Inmate From: Phoenix |
posted 05-24-2002 22:31
[the long way] |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 05-24-2002 22:43
The answer to your original question: |
Bipolar (III) Inmate From: Phoenix |
posted 05-24-2002 23:40
Excellent thread! |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 05-24-2002 23:49
Hey, that's a good question! The answer at the moment is no, but I'm wondering why the Asylum doesn't have a print style sheet? Or maybe it does, I haven't checked. |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 05-25-2002 00:35
Hey wow, that would be cool, I'd appreciate that Slime, I don't *really* know where to start, I'm still "faking it" when it comes to CSS layouts, heh. I was fascinated with that nugget of info about the two class elements! Do you know of any issues in cross-browsers where that doesn't work? I'm going to start using that on my next project, you bet. |
Maniac (V) Inmate From: under the bed |
posted 05-25-2002 00:55 |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 05-25-2002 02:52
Heh, thanks. I only vaguely remember reading it myself somewhere in the w3c specs, undoubtedly within http://www.w3.org/TR/REC-CSS2 somewhere. I've never actually used more than one class per element, so I don't know about the cross-browser issues. |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 05-25-2002 16:29 |