I'm working on a site for my wife's burgeoning business, and while I'm 
running into a bunch of snags, this one has me puzzled.  The following works:

#top-nav {
        background: #28629E;
        color: #FFF;
        width: 100%;
        font-style: italic;
        font-weight: bold;
        font-size: 0.9em;
        text-align: center;
}

However, the following does NOT work:

#top-nav {
        background: #28629E;
        color: #FFF;
        width: 100%;
        font: italic bold 0.9em;
        text-align: center;
}

Why does the font shorthand not work?  I suppose one is as good as the 
other (i.e. the one that works), but it seems that, according to the spec, 
both should be equivalent.  Given that it fails to work in both Firefox and 
IE7, I'm sure _I'm_ doing something wrong; I just don't know what.

Erik Harris                                http://www.eHarrisHome.com
-        AIM: KngFuJoe - Yahoo IM: kungfujoe7 - ICQ: 2610172        -
Chinese-Indonesian Martial Arts Club      http://www.kungfu-silat.com

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to