Multiple Item for HTML Class

Posted by Ikhwan on November 18, 2005

I just knew that we can put multiple classes in the “class” attribute for a HTML tag. Observe…

<html>
<style>
.RedBox {
    background: mistyrose;
    border: 1px solid;
}

.AlignedRight   {
    text-align: right;
}

.Spaced {
    letter-spacing : 3px;
}
</style>
<body>
<input type="textbox" class="RedBox AlignedRight Spaced" value="0.00" />
</body>
</html>

p.s: Got this from some blog. I forgot to keep the URL. Credit for him/her.

Trackbacks

Use this link to trackback from your own site.

Comments

Leave a response

  1. analogy Mon, 21 Nov 2005 09:37:00 MYT

    ooo buleh rupernye …

  2. Anonymous Fri, 17 Feb 2006 15:58:00 MYT

    aku dah lama tau..Ada satu mamat bgtau kat aku….
    credit to him: amin2u.blogspot.com

  3. Fentermine. Thu, 03 Jan 2008 09:48:25 MYT

    Topamax fentermine weight loss.

    Fentermine. Topamax fentermine weight loss.

Comments

*
To prove you're a person (not a spam script), type the security word shown in the picture. You can register to this site so you won't be asked to do this again. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word