[Prev][Next][Index][Thread]

Re: alternate font properties



-----BEGIN PGP SIGNED MESSAGE-----

At 03:32 PM 29/07/97 -0700, David Perrell wrote:
>
>How is the problem of missing quotes exacerbated by the relative
>position of the commas? Is
>
>  H2 { bold Palatino, serif }
>
>any less ambiguous?

Um, without a property name, no :)

>The size declaration is optional

No, it's not.  There is no ? after <font-size> at 
<http://www.w3.org/pub/WWW/TR/REC-CSS1#font>.

>so in the font
>shorthand/property, missing quotes is a firm no-no.

It's better form to use quotes, but browsers should be able to handle it 
otherwise, assuming that the font-size is properly given.  The spec says 
that "Font names containing whitespace should be quoted" [1], but it 
doesn't say that they must be.

[1] http://www.w3.org/pub/WWW/TR/REC-CSS1#font-family

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQB1AwUBM958bQ/JhtXygIx1AQHAVAL/elpQDk5AnkGK+Gkyqj/dg7IMLl6mbwgc
n60frfrFdukzksh8j1tdXAo/gM+AoFHzK4CHX8CwjAh7tnnOT0yY/TQex/qchGo8
kAw+HOhGcnlEL3dgBzkQLsz9iPanvmPE
=NU4W
-----END PGP SIGNATURE-----

Liam Quinn
===============  http://www.htmlhelp.com/%7Eliam/  ===============
Web Design Group            Enhanced Designs, Web Site Development
http://www.htmlhelp.com/    http://enhanced-designs.com/
======  PGP Key at http://www.htmlhelp.com/%7Eliam/pgp.html  =====


References: