Thursday, September 4, 2008

CSS Tricks: Part I

Hi all,

I thought I'd share a few CSS tricks with you. Just for fun. No questions asked.

Trick 1: Removing underlines


a:link a:visited a:hover a:active {
text-decoration: none;
}
Trick 2: Adding a dotted underline

a {
text-decoration: none;
border-bottom: 1px dotted #000000;
}
Trick 3: Removing indentation in lists

ul {
padding-left: 1em;
margin-left: 0px;
}

More to come soon.


--James

No comments: