# Friday, June 08, 2007
Friday, June 08, 2007 7:03:10 PM UTC
« [Previous Post] How To Reset Windows E... Vista OEM Deactivating... [Next Post] »

Okay, I totally knew about this, but forgot until recently. In HTML/CSS, you can actually specify more than one class name inside of the “class” tag. For example:

<style type=”text/css”>
    .MyFirstStyle { font-weight: bold; }
    .MySecondStyle { background-color: Blue; }
</style>

<span class=”MyFirstStyle”>Only the first style is applied.</span>

<span class=”MyFirstStyle MySecondStyle”>First and second style are applied.</span>

Go ahead, try it yourself.

Listening To: Nick Drake - Road
Tags: ,
 
Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, strike, strong, sub, sup, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview