HighDots Forums  

Re: adding commas to quote elements

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: adding commas to quote elements in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jan Roland Eriksson
 
Posts: n/a

Default Re: adding commas to quote elements - 10-30-2004 , 04:57 PM






On Sat, 30 Oct 2004 23:15:05 +0300, Marek Mänd <cador.soft (AT) mail (DOT) ee>
wrote:

Quote:
style type="text/css"
q:after{content:',"'}
/style

q>This will be the shame of CSS</q> claimed Marek Mänd and added that
q>consumers expect to create generated content via CSS where there
would be no comma right after HERE</q
It's too late in the evening for riddles; what are you getting at?

--
Rex




Reply With Quote
  #2  
Old   
Harlan Messinger
 
Posts: n/a

Default Re: adding commas to quote elements - 10-30-2004 , 07:10 PM






Marek Mänd <cador.soft (AT) mail (DOT) ee> wrote:

Quote:
Jan Roland Eriksson wrote:
On Sat, 30 Oct 2004 23:15:05 +0300, Marek Mänd <cador.soft (AT) mail (DOT) ee
wrote:
style type="text/css"
q:after{content:',"'}
/style
q>This will be the shame of CSS</q> claimed Marek Mänd and added that
q>consumers expect to create generated content via CSS where there
would be no comma right after HERE</q
It's too late in the evening for riddles; what are you getting at?


I want comma added before "claimed" but not comma added after HERE.
So put in a comma.

Quote:
I dont want to use classnames.
If after quote end tag there is no opening tag, but a textnode
I want to add comma so it becomes

"This will be the shame of CSS," claimed

If after quote end tag there is no texnode following,
or there is a closing tag of the outer element or
there is new opening tag
I want to add fullstop. And fullstop after the "-quotes
but comma inside the "-quotes.

And do that with css generated content. That the browser itsself will
have the intelligence to add commas for me.
Commas in quotations aren't any more a function of CSS than commas
anywhere else, or any other punctuation marks. I suspect that you're
getting the idea that it *would* be from what you've read about using
CSS for the quotation marks, but *that* was really just a bunch of
silliness in the first place. If markup and CSS were appropriate for
punctuation, then HTML ought to have contained the full compliment of
structural elements that involve punctuation: <sentence>,
<relative-clause>, <exclamation>, etc. To have just one construct
that's supposed to automate the punctuation for you, while leaving the
rest of it to be handled directly in the text, was absurd.

Quote:
I think this is far beyound the capabilities of css but I need
confirmation for that.
It is.

--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.


Reply With Quote
  #3  
Old   
Jan Roland Eriksson
 
Posts: n/a

Default Re: adding commas to quote elements - 10-30-2004 , 07:41 PM



On Sun, 31 Oct 2004 02:40:29 +0300, Marek Mänd <cador.soft (AT) mail (DOT) ee>
wrote:

Quote:
Jan Roland Eriksson wrote:

On Sat, 30 Oct 2004 23:15:05 +0300, Marek Mänd <cador.soft (AT) mail (DOT) ee
wrote:
style type="text/css"
q:after{content:',"'}
/style
q>This will be the shame of CSS</q> claimed Marek Mänd and added that
q>consumers expect to create generated content via CSS where there
would be no comma right after HERE</q

It's too late in the evening for riddles; what are you getting at?

I want comma added before "claimed" but not comma added after HERE.
So, use appropriate markup that will parse itself into a usable
structure for your stylesheet to work on.

This, what you are asking about (now), is as simple as pi.

--
Rex




Reply With Quote
  #4  
Old   
Stan Brown
 
Posts: n/a

Default Re: adding commas to quote elements - 10-30-2004 , 10:14 PM



"Marek Mänd" <cador.soft (AT) mail (DOT) ee> wrote in
comp.infosystems.www.authoring.stylesheets:
Quote:
I want comma added before "claimed" but not comma added after HERE.
I dont want to use classnames.
And you shouldn't. The comma is content, not presentation. If it
belongs in your text, it belongs in your text _not_ slipped in by
CSS.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.