SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Guru Todd Temple's Avatar
    Join Date
    Mar 2005
    Location
    Tennessee
    Posts
    797
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Trying To Add A Class To A Span But I Must Have The Wrong Selector

    LINK-
    http://www.securehostserver.info/nsca/

    I am trying to style the text "The New Supply Chain Agenda" that is in the first paragraph in the center column (#column2_alt). I wrapped the phrase in a span and I thought I had styled it properly, but I cannot get it to turn blue, bold and switch the font to Arial. Can someone take a look and tell me what I am doing wrong?

    Thanks in advance!

    Todd
    Todd Temple > T2 Design

  2. #2
    SitePoint Guru Luki_be's Avatar
    Join Date
    Jun 2008
    Location
    Brazil, Minas Gerais. But i'm from Belgium.
    Posts
    867
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Add the font-size to the shorthand. This should do it. The font shorthand will be ignored if you omit the font size and the font family.
    SitePoint Guru
    Sitepoint - the ultimate Css well
    As a computer, I find your faith in technology amusing.
    Sitepoint reference, your friend in need

  3. #3
    SitePoint Guru Todd Temple's Avatar
    Join Date
    Mar 2005
    Location
    Tennessee
    Posts
    797
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Luki_be View Post
    Add the font-size to the shorthand. This should do it. The font shorthand will be ignored if you omit the font size and the font family.
    That did the trick. Is that a hack? How can I find out more about this? Is it somewhere in the SitePoint CSS Reference?
    Todd Temple > T2 Design

  4. #4
    Is Still Alive silver trophybronze trophy RetroNetro's Avatar
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    6,883
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

  5. #5
    SitePoint Guru Luki_be's Avatar
    Join Date
    Jun 2008
    Location
    Brazil, Minas Gerais. But i'm from Belgium.
    Posts
    867
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by BPartch View Post
    That's why the reference is your best friend lol
    SitePoint Guru
    Sitepoint - the ultimate Css well
    As a computer, I find your faith in technology amusing.
    Sitepoint reference, your friend in need

  6. #6
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,570
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Todd Temple View Post
    That did the trick. Is that a hack? How can I find out more about this? Is it somewhere in the SitePoint CSS Reference?
    Nope not a hack . Just regular knowledge lol .

    The others have provided the link.
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work


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
  •