SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot Harvy's Avatar
    Join Date
    Feb 2002
    Location
    Aberdeen, Scotland
    Posts
    101
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    easier coding needed.

    Is there any way to put these all in one line so i only have to write the styles once since there all the same styles???

    A.toplinks:LINK { color : #E8E8E8; text-decoration : none;}
    A.toplinks:VISITED { color : #E8E8E8; text-decoration : none;}
    A.toplinks:ACTIVE { color : #E8E8E8; text-decoration : none;}

  2. #2
    Gone!
    Join Date
    Aug 2001
    Location
    Witty Location Parody
    Posts
    3,889
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not that I know of, but if you are calling your stylesheet from an external source, i.e. using linkrel instead of a style tag in your head section then you are only going to need to type that code once anyway and it will then be applied to all pages.

    Glen

  3. #3
    SitePoint Wizard
    Join Date
    Jan 2001
    Location
    Milton Keynes, UK
    Posts
    1,011
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try the following.

    Code:
    A.toplinks:LINK, A.toplinks:VISITED, A.toplinks:ACTIVE {color : #E8E8E8;text-decoration : none;}


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
  •