Curby wrote:
<q>One plus two plus three plus four plus five makes fifteen.</q>
and I wish to have it rendered as
One plus two plus ... plus five makes fifteen.
I'm trying to work with the following:
<q>One plus two plus <del>three plus four</del> plus five makes
fifteen.</q>
That's an inappropriate use of the del element. It's supposed to
represent deleted text, but in this case you're using it to mean removed
from rendering. I'd replace it with a span element, possibly given an
appropriate class name (if required).
with styles such as:
q del { /* What goes here? */ }
q del:before {content: "...";}
q span { content: "\2026"; }
Note: U+2026 is the Horizontal Ellipsis character.
Unfortunately, Opera is the only browser I'm aware of that supports the
'content' property for any element, as it is defined in the CSS3 drafts.
Other browsers only support it for the ::before and ::after
psuedo-elements, as defined in CSS 2.1.
You may have to use JS to simulate it in other browsers.
--
Lachlan Hunt
http://lachy.id.au/
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************