Original Post
Is there any way to create custom pseudo-classes? Or is there a better way of doing what I want to do? I'm a total newbie to CSS. I am creating custom controls, and these custom controls have custom width and style properties. Basically, I want a 'button' class from which 'stylishButton' inherits. I then want to be able to slap a pseudo-class (that's what I think I want to do) on it to say whether it is 'large', 'medium' or 'small'. These custom width and style properties are just enums which I want to set the meaningful values of in the CSS file. Are custom pseudo-classes what I actually want to do, or something else? [Edited by - NickHighIQ on March 12, 2008 5:00:06 AM]