Can someone clarify that multiple classes in the "class" attribute are ok
and "legal" and not some fluke?
So, I can do:
..pink {color: pink}
..bold {font-weight: bold}
..medium {font-size: 12pt}
<p class="bold pink medium">bold pink medium sized text</p>
You can use multiple classes, but not multiple id's, so id="this that other"
is wrong.
Most every example of classes only asserts one class.
Thanx!
Regards,
Will Hartung
(willh@msoft.co m)
and "legal" and not some fluke?
So, I can do:
..pink {color: pink}
..bold {font-weight: bold}
..medium {font-size: 12pt}
<p class="bold pink medium">bold pink medium sized text</p>
You can use multiple classes, but not multiple id's, so id="this that other"
is wrong.
Most every example of classes only asserts one class.
Thanx!
Regards,
Will Hartung
(willh@msoft.co m)
Comment