SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    May 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Font for specific CSS

    When I coded all links in my Blogger blog to be a specific color/size/font, it worked, but now all my links come up with that font, even if I have coded it (say, the link for a particular div), to have a different font.

    Does anyone know how I can make one set of css override the other so that all my links except certain ones will be a particular font?

    Help would be much appreciated.

  2. #2
    SitePoint Wizard bronze trophy chris.upjohn's Avatar
    Join Date
    Apr 2010
    Location
    Melbourne, AU
    Posts
    2,189
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    You would need to target the links in the parent <element> as there is no way you can have the font family be inherited and set specifically for 2 different locations from within the same selector.

  3. #3
    SitePoint Member
    Join Date
    May 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks!


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
  •