Sent by Slaydon, Eugenia on 31 March 2004 00:12
Mary Villanueva wrote:
>How about trying redefining the p element within the div class and then
>changing the line spacing like so:
CSS Rules:
#faq{font-size:14px;}
#faq p.question{margin-left:3px; margin-bottom:0;}
#faq p.ans{margin-left:7px; margin-top:-6px;} /* Haven't really tested
these values but you can play with them */
HTML Code
<div id="faq">
<p class="question">Q. Question 1 here?</p>
<p class="ans">A. Your answer here.</p>
</div>
That is what I was thinking of doing but do you think it conveys the correct
information? This means that there are 2 paragraphs of text and doesn't show
any relationship to each other. Is there a better way of conveying the
relationship between the two or is this the usual solution?
Eugenia
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/