At 07:35 PM 9/22/2007, Bjoern Hoehrmann wrote:
> >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.
>
>The specification http://www.w3.org/TR/CSS21/fonts.html#font-shorthand
>actually says that you have
* Erik Harris wrote:
> font: italic bold 0.9em;
>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 _
On 2007/09/22 19:20 (GMT-0400) Erik Harris apparently typed:
> 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 sup
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;
fon