![]() |
Set Multiple Classes on an HTML Element
with all class names inside the same set of double quotes with a space between each. The CSS specificity is controlled by the order of the classes in your CSS file. If your CSS has: class-2 {color: blue} class-3 {color: green} class-1 {color: red} |
You can try like this, for using multiple classes on one HTML element,
First css file: .title { color: black; border: 1px solid silver; ... } Second css file: .title { color: red; } |
Thanks for your suggestions but I would like share here this link as well:
http://webdesign.about.com/od/css/qt...smulticlas.htm I hope it will give some more clear information. |
Well, see, the problem is that I want to assign two different classes on a table cell scale, so assigning one style to the table, one to the row, and one to the cell won't work because that wont give me fine enough precision to make the changes I want to make.
|
I didn't know this that we can create multiple classes in an HTML element..
|
All times are GMT -7. The time now is 06:34 PM. |
Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.