The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Problem with fonts

  • # September 13, 2008 at 3:06 am

    Hey all!
    I’l like to create a <span> style with different fonts for Win and Mac. Its important that the text needs to be italic.
    For Win: Palatino Linotype
    For Mac: Apple Chancery (this font is like italic by default)

    So when I make this rule:
    span { font-family: "Apple Chancery", "Palatino Linotype"; font-style: italic; }

    The problem is that (I think) there is no italic version of Apple Chancery, its like italic by default – so on Mac the default font will be used when the italic rule is set. If I get out the italic rule is ok on Mac, but the text will be not italic on Win. :/
    Any suggestions?


    # September 13, 2008 at 6:22 am

    use conditional style sheets

    # September 13, 2008 at 7:46 am

    As far as I know conditional comments are for IE only. I found some css hack, not sure if it works, but it looks so bad in the code..

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed