Grow your CSS skills. Land your dream job.

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?

    Thanks!

    # 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.

*May or may not contain any actual "CSS" or "Tricks".