SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Dec 2009
    Posts
    321
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Change color of a link?

    I've spend time here researching this topic but have not found a satisfactory, or understandable answer.

    I simply (emphasized) wish to change the color of a link.

    No hover, click, visited etc., applies. I just wish to change the color of the text - permanently!

    HTML
    Code:
    <td><class="toplink"><a href= "http://www.homeseekers.com/pages/orange-county-real-estate" title="">Home Seekers</a></td>
    CSS
    Code:
    .toplink	  {
    	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    	color:#FC0;
    }
    Suggestions?

    Thanks . . . Rick

  2. #2
    SitePoint Addict
    Join Date
    Dec 2009
    Posts
    321
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OK . . . figured it out like this . . .

    Code:
    <td><a href= "http://www.homeseekers.com/pages/orange-county-real-estate" class="toplink"title="">Home Seekers</a></td>
    Hope it helps someone.

    Thanks . . . Rick

  3. #3
    Community Advisor silver trophybronze trophy
    dresden_phoenix's Avatar
    Join Date
    Jun 2008
    Location
    Madison, WI
    Posts
    2,737
    Mentioned
    32 Post(s)
    Tagged
    1 Thread(s)
    The ERRORS in the ORIGINAL code is that you have used class as a 'tag' instead of an attribute to a tag.

    Code:
    <td><class="toplink"><a href= "http://www.homeseekers.com/pages/orange-county-real-estate" title="">Home Seekers</a></td>
    Hopefully this will help you spot similar errors in the future.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •