dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: font color and text decoration

  1. #1
    Join Date
    Mar 2005
    Posts
    128

    font color and text decoration

    i can't for the life of me understand why i can't change the font color or get rid of the text-decoration of my text links in either i.e. or firefox?

    why is it blue?

    here's the code and link, what am i doing wrong?
    http://bluesrock.atspace.com



    .newbook { font: italic bold 14px helvetica ;
    color: #FC0; position: relative ;
    left: -12cm; top: 1.5cm;
    float: left; text-decoration: none }

    .newbook a:hover { color: #0F0 }



    .signup { font: 12px helvetica; color: #FC0;
    text-decoration: none;
    position: relative;
    left: -5cm; top: 10cm;
    white-space: nowrap;
    float: left }


    .signup a:hover { color: #0C0 }


    <body>
    <div class="newbook">
    <a href="http://lulu.com/fatbottoms">
    "NEW<br> BOOK"</a></div>

    <div class="signup">
    <a title="Drop me an e-mail to get on the list."
    href="mailto:fatbottoms@fastmail.us">
    Sign up for the<br>e-mailing list
    <br>to see NEW STRIPS!"
    </a></div>

  2. #2
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,609
    Assign the default link color and text-decoration to .newbook a
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

  3. #3
    Join Date
    Mar 2005
    Posts
    128
    hmmm... i could of sworn i tried that and it didn't work, but that works great now. thanks nogdog.

    i know i tried "a:link" and the font color didn't change.
    is there a difference between "a" and "a:link"?

    http://bluesrock.atspace.com

  4. #4
    Join Date
    Feb 2005
    Posts
    345
    a and a:link are the same, no difference

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles