Previous Message
Next Message

Nested Quotes problem using Generated Content

Sent by Bob Easton on 29 October 2004 12:12


Pringle, Ron wrote:

> Ok, I've run into a vexing problem trying to use generated content to place
> curly quotes at the beginning and end of blockquote elements.
> 
> The problems begin when I try to set up rules for multi-paragraph
> blockquotes. I've added rules to only put quotes at the beginning of each
> paragraph within a blockquote and apply a special class to the last
> paragraph to add the end quotes in that case. Works fine.
> ...

Your code is OK, and works fine in Gecko based browsers.  (Moz 1.7.3 on 
WinXP) The problem is lack of support in IE for the content:open-quoute, 
content:close-quote constructions.

While you should be commended for doing the utmost to separate 
presentation from content, this is one area where poor browser support 
dictates falling back on encoding the desired quote marks in the content.

BTW, you should check with a validator to see if <blockquote> is allowed 
inside <p>. Not allowed in XHTML.  Throws error about p not open in HTML.
-- 
Bob Easton
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: