Jump to content

Multiple Css Class On One Element


juice1

Recommended Posts

I found out today that multiple classes can be used on a single element.I was wondering if there is a limit on how many classes the single element can hold and if any older browsers namely ie6 support it?Thanks

Link to comment
Share on other sites

I don't believe there is a limit to how many you can put on one element per se, but realistically, you're only ever going to use a certain amount. I can't imagine that you'd be using 20+ classes on a single element. Anyways, IE6 supports this, but I don't think anything less than that will support it. The main thing you want to worry about is inheritance and making sure you've got everything correctly deriving what's what.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...