Previous Message
Next Message

css-discuss archive

Sent by Janet M. Russeau on 16 September 2005 16:04


How can I modify my css so i have more appropriate html, ie

<p>SubTotal<span class="rightside">$ 10.00</span></p>

 Thanks, Chuck
______________________________________________________________________

Hi Chuck,

Have you considered using a Definition List? You could then use the DT
tags for your labels, and surround your prices in DD tags with the DD tags
floated to the right and right aligned.

Since the price is a description of the label, I think it should also be
semantically correct, and both your label and price are in block-level
elements.

Just my thought for this rainy Friday...

Janet
______________________________________________________________________
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

Possibly related: