Thanks, but that doesn't really answer my question.
What I want is an empty class that has no specific meaning itself but
extends another class.
This is fine when I have an element within an element because I can set
a style for .parent .child
I can also set a specific element's style using
I want to rationalise my css so that I am not continually inventing
classes when I want to create a new effect.
Today I have created a 'pullout' class which has a head, image and body.
I don't want to use an H? because I don't know where that element is
going to sit in a document and I don't
U can set multiple style classes to an item. Also u can use the
cascade. So u can set styles for all of the .thisHead And then set
styles that are only for .pullout .thisHead
Sent from my iPhone
On Jul 23, 2009, at 7:56 AM, Chris Price chris.pr...@choctaw.co.uk
wrote:
I want to
To address the subject line before getting to the actual problem
described: No. HTML classes (which CSS class selectors select) are not
classes in the sense used in traditional OO programming. They are
classes in the wider sense.
4: a collection of things sharing a common attribute; there
Atkinson, Sarah wrote:
U can set multiple style classes to an item. Also u can use the
cascade. So u can set styles for all of the .thisHead And then set
styles that are only for .pullout .thisHead
I have a 'comment' class which follows a set
format except its width changes depending