Re: proper coding or use for mdash

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 UTC