Skip navigation

Something simple today, we all love to customize the look of a href links here is the correct order they should appear in a StyleSheet to work without problems

a:link
a:visited
a:hover
a:active

And as an example here is the styles from my own web site.

a:link, a:visited
{
        color: #0000FF;
        text-decoration: none;
}
a:link:hover, a:visited:hover
{
        color: #0066FF;
        text-decoration: none;
}

I believe I have mentioned this before but my absolute favorite CSS editor on the Mac is CSSEdit, being able to display, override locally and edit in real time the displays of any page/site on the Internet is a fantastic way to learn CSS. Try the X-Ray mode, it’s simply wonderful.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: