W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2002

Re: proper coding or use for mdash

From: Charles McCathieNevile <charles@w3.org>
Date: Wed, 13 Mar 2002 04:37:14 -0500 (EST)
To: Joe Clark <joeclark@joeclark.org>
cc: WAI-IG <w3c-wai-ig@w3.org>, <cjunior@nc-rj.rnp.br>
Message-ID: <Pine.LNX.4.30.0203130432150.18845-100000@tux.w3.org>
Yep, this is a good answer...

(the problem with having both the CSS and the dash included directly is that
in a browser that does CSS you will get repetition of the dash. You could
avoid it with something like

<q><span class="forBrokenCSS">&#8210;</span>blah blah blah</q>

and

  q:lang(pt)
  {
  quotes: '&#8210; ' '' '' ''
  .forBrokenCSS { display: none }
  }

to make it a bit more bugwards-compatible.)

cheers

Chaals

On Tue, 12 Mar 2002, Joe Clark wrote:

  You can try this CSS:

  q:lang(pt)
  {
  quotes: '&#8210; ' '' '' ''
  }

  That's figure dash plus space, then nothing, nothing, nothing (for
  opening outer, closing outer, opening inner, closing inner,
  respectively).


-- 
Charles McCathieNevile    http://www.w3.org/People/Charles  phone: +61 409 134 136
W3C Web Accessibility Initiative     http://www.w3.org/WAI  fax: +33 4 92 38 78 22
Location: 21 Mitchell street FOOTSCRAY Vic 3011, Australia
(or W3C INRIA, Route des Lucioles, BP 93, 06902 Sophia Antipolis Cedex, France)
Received on Wednesday, 13 March 2002 04:37:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:01 GMT