SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Wizard masm50's Avatar
    Join Date
    Oct 2001
    Location
    UK
    Posts
    2,508
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Overriding an A:LINK tag

    Hi all,

    I have a class called '.listheadline' which covers titles of articles when listed, which are also links to the full article.

    I currently have
    A:LINK { color : FF9933; }
    .listheadline { color : White; }

    I would like the A:LINK class to apply to all links except those covered by the .lisheadline class.

    How do I do this?

    Cheers

    Tim

  2. #2
    SitePoint Guru coiL's Avatar
    Join Date
    Sep 2001
    Location
    QLD, Australia
    Posts
    666
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    a.listheadline:link { color : White; }

    then

    <a class="listheadline" href="page.html">
    coiL
    "cradled in the learning curve"


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
  •