Hi again,
I thought I'd add a few more CSS tricks.
Trick 1: Highlighting links on hover or when clicked
a:hover, a:active {
color: #FF0000;
background-color: #FFFF00;
}
Trick 2: Stacking headings (to get rid of unwanted space)
h1, h2 {margin-top: 3em;}
h1+h2 {margin-top: -3em;}
Trick 3: Using an image as a bullet
ul {
list-style-image: url(yourimage.gif);
}
More coming later!
--James
No comments:
Post a Comment