> > > HOME
/ BUILD
/ PROGRAMMING / CSS
/
Fun
CSS Tricks You Can Use!
Article by Dan
Grossman
CSS or Cascading Style Sheets allow you to implement a few neat
effects on your webpages easily. You can implement these CSS effects on your site
by simply copying and pasting the code.
Rollover Color Text Links
Have
your text links change color when the mouse passes over them by inserting this
code into the HEAD of your document:
<style type="text/css">
<!--
A:hover
{color:red}
-->
</style>
Links with No Underline
Remove
the underline from any or all of the links on your page by putting this in the
HEAD of your document:
<style type="text/css">
<!--
A:link
{text-decoration:none}
A:visited {text-decoration:none}
-->
</style>
Or,
remove the underline form individual links by forming them like this:
<a
href="page.html" style="text-decoration: none">link</a>