Site hosted by Angelfire.com: Build your free website today!
Contents

* Getting started
* What are CSS?
- Some CSS tricks
* CSS cautions
* What is JavaScript?
* Some JavaScript tricks
* JavaScript cautions

[Home]
Well, here are a few CSS tricks from yours truly. They aren't difficult, and they make for some nifty effects. Please note that when I mention browsers, I'm assuming a CSS-compatible browser [see CSS cautions for a list]. Also, I'm assuming that you've read the previous section [What is CSS?] and know all about adding CSS into your HTML.

TRICK 1: Prevent link underlining in people's browsers:
A: {text-decoration: none}
TRICK 2: Make your links light up onMouseOver [the hex codes are simply examples]:
A:hover {color: #00FF00; background-color: #000000}
TRICK 3: Make the PRE tag display a font you define:
PRE {font-family: YourFontName}
Note that if the person looking at your page does not have the font you specify on their computer, they will still see the good old default PRE monospace. And if the font you use has spaces in its name, you have to use quote marks around it.

Well that's all the CSS tricks I have for you. :) Before you use them, or any other CSS stuff, be sure to read on about some common CSS bugs and misconceptions.

[Previous page] [Next page]