1.866.PIXELMILL (1.866.749.3564 US/Canada)

Search Support

Search our knowledgebase? Enter keywords or article id:

> go to search support


Support Index


Help and Support


Search

Go back to search results

Enter keyword or id#:




Promotions


Quick Links

Printable Article

Changing link colors, underlines, etc.

Article ID: KB101642

Link colors in stylesheets are usually defined like this:

a:link { color: #xxxxxx }
a:visited { color: #xxxxxx; text-decoration: none; }
a:active { color: #xxxxxx; text-decoration: underline; }
a:hover { color: #xxxxxx; text-decoration: underline; }

  • a:link - Default presentation of links.
  • a:visited - Presentation of "visited" links.
  • a:active - Presentation of links that are being clicked.
  • a:hover - Presentation of links that are being moused-over.

The order of listing the definitions is important so that the links show up the same across different types of browsers.

You can change the properties of the links as you would for almost any CSS text, including padding, borders, background colors, background images, font weight, etc. This is how designers are able to create HTML-based text links that look like buttons.


Was this helpful?

Please rate this article:

Not helpful Very helpful
1 2 3 4 5 6 7

Email address: (not required)

(Please provide your email address if you would like PixelMill support to follow-up with you about your comment. You're email address is NOT REQUIRED to submit a comment.)

Comments: (How can we improve this article?)


Clicking "Submit" will not clear this page.


link to this page: http://www.pixelmill.com/support/al0/kb101642.htm
permalink to this article: http://www.pixelmill.com/support/kb101642.htm

Back to top



PixelMill EDU

Introducing...

PixelMill EDUâ„¢ is an innovative and proprietary online training series designed to aid the do-it-yourself Web builder in transitioning to new Web editors, coding standards, and Web technologies.

Webinars and Seminars:

FrontPage to SharePoint Designer Series
This is a 6-Week series designed to give you strong exposure to the new SharePoint Designer web editor and interface, along with examples of working with Windows SharePoint Services and tips for transitioning from FrontPage.
Register Now!

Tables to Tableless CSS Series
This is a 6-Week series designed to help you transition from building Tables-based Web site layouts to working with CSS to edit and build Tableless Web site layouts. For all Web builders using Dreamweaver, Expression Web, or any other web editor.
Register Now!

FrontPage to Expression Web Series
This is a 6-Week series designed to give you strong exposure to the new Expression Web software and interface, along with tips for transitioning from FrontPage.
Register Now!

Learn more and register!

ADVERTISEMENT
adventisement