On Oct 15, 2007, at 10:26 AM, John Burk wrote:

> I have a faq page where I'd like to make every answer have be  
> followed by a
> link with the text "did this answer your question?" that goes to a  
> feedback
> page.
>
> I've set my FAQ up as a definition list where dt's hold questions,  
> and dd's
> hold answers. I've also had no problems putting nice Q's and A's  
> before the
> questions using the before psuedo element. Though I've been able to  
> get the
> question "did this answer your question to appear" using the after  
> psuedo
> element, but I can't figure out how to create the link.

1. You are aware, I hope, that the ::before and ::after pseudo- 
elements are not supported by IE...
2. you can insert _content nodes_ with those pseudo-elements, but not  
(html) mark-up.
<http://www.w3.org/TR/CSS21/generate.html>
<http://www.w3.org/TR/CSS21/selector.html#before-and-after>
<http://www.w3.org/TR/css3-selectors/#gen-content>
<http://www.w3.org/TR/css3-content/#pseudo-elements>

and I would argue that your 'did this answer your question' is real  
content, and should be part of the html document, not the stylesheet.

Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>




______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to