SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    330
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Italics in an external CSS file?

    Is there a way to specify in an external CSS file that a class or a header tag is italicized? I know you can set the text to bold by doing something like this:
    Code:
    font: bold 12px Arial;
    but is there a way to specify italics like:
    Code:
    font: italics 12px Arial;
    I know that doesn't work because I tried it, but is there another way?

    Thanks in advance!

  2. #2
    + platinum's Avatar
    Join Date
    Jun 2001
    Location
    Adelaide, Australia
    Posts
    6,441
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    just use: (no 's')

    Code:
    font: italic 12px Arial;

  3. #3
    SitePoint Addict
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    330
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    haha...thanks a bunch

  4. #4
    SitePoint Addict
    Join Date
    Sep 2003
    Location
    Europe
    Posts
    222
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Bookmark http://www.htmlhelp.com/reference/css/properties.html for the next time you want to try something like that.


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
  •