> I have a list of name:value pairs:
>
>   <div class="container">
>
>     <ul class="properties">
>     <li>Name: Value</li>
>         <li>Another name: Another value</li>
>         <li>Other name: Other value</li>
>         </ul>
>
>   </div>

How about using a table, as this does look like tabular data to me?
Then you could easily align the TH to the right and the TD to the
left.

Same applies to your span solution - give the first span a fixed
width, display it block, float it to the left and text-align it to the
right.

--
Chris Heilmann
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
Binaries: http://www.onlinetools.org/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/

Reply via email to