Previous Message
Next Message

Some styles aren't working

Sent by Jeroen Visser [ vizi ] on 27 July 2004 17:05


Esther van Summeren wrote:
> 
> > The only thing I can think of is that Trebuchet MS is housed in single 
> > rather than double quotes - you could try that >though I'm not sure if that
> > would make any difference.

> I just worked on a stylesheet using Trebuchet, and I didn't put it between
> quotes, just:
> {
> font-family: trebuchet ms, arial;
> }
> and it works fine.

In all browsers? According to the CSS specs, font families that contain 
spaces should be quoted:

"<family-name>
     The name of a font family of choice. In the previous example, 
"Baskerville", "Heisi Mincho W3", and "Symbol" are font families. Font 
family names containing whitespace should be quoted. If quoting is 
omitted, any whitespace characters before and after the font name are 
ignored and any sequence of whitespace characters inside the font name 
is converted to a single space."

<http://www.w3.org/TR/CSS2/fonts.html#font-family-prop>

Jeroen

-- 
vizi fotografie & grafisch ontwerp

I  http://www.vizi.nl/
E  [EMAIL-REMOVED]

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: