Previous Message
Next Message

Re: [css-d] font-family in inline styles

Sent by Andrew Clover on 11 July 2002 07:07


Eric A. Meyer [EMAIL-REMOVED]> wrote:

> If you use single-quote marks to enclose your attribute values, then 
> use double-quotes in the value itself.

This is easiest, yes. Alternatively you can use normal HTML escaping:

  font-family: ""Trebuchet MS", Verdana, Arial, Helvetica, sans-serif"

  font-family: ''Trebuchet MS', Verdana, Arial, Helvetica, sans-serif"

This example is only for masochists of course, but there may be times when
you do need both type of quote in one attribute.

-- 
Andrew Clover
[EMAIL-REMOVED]
http://and.doxdesk.com/
Previous Message
Next Message

Message thread: