
Changing Link Colors on an HTML page
A reader writes:
"I was hoping you could tell me where I can find info to solve a problem I'm having with one of the pages. I want my hyperlinks to stay the same colour as the rest of the text and not change at all, and i'd like to avoid the underlining too." There are a couple of ways to solve this, ranging from the banal and old fashioned LINK and VLINK attributes to the BODY tag (as in <BODY LINK="black"> to have text links black if not visited) to the more advanced style sheets, where you can have structures like: a { color: black; text-decoration:none; }which would give you black links without underlines, with the underline only showing up at the 'hover', when the cursor is immediately over the link text. I hope that helps!
Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Stumble Upon
Categorized:
HTML and CSS
(Article 3655)
Tagged: Previous: Fancy Mac OS X command line tricks Next: New edition of "Creating Cool Web Pages" coming Subscribe!
Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader. thanks dude, i though it woulda been an easy fix, and that tag made it just that.. hey how do you change the coIour of ure writeing on myspace Posted by: sarah guymer at February 20, 2007 8:56 AMI have a lot to say, but ...
I do have a comment, now that you mention it!
|
![]()
Search
Find just the answers you seek from among our 1700+ free tech support articles by using our Lijit search engine.
Help!
Subscribe to
Ask Dave Taylor!
Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.
Articles and Reviews
Auctions and Online Shopping Blogs and RSS Feeds Building Web site traffic Business and Management Cell Phones and Mobile Phones CGI Scripts and Web Site Programming Computer and Internet Basics d) None of the Above HTML and CSS Mac OS X Help MySpace, Facebook, Twitter and Social Network Help Pay Per Click (PPC) Search Engine Optimization Shell Script Programming Sony PSP, MP3 Players, Etc. The Writing Business Unix and Linux Help Video Game Tips and Help Windows Help
Recent Entries
Join the List!
Book Links
|