Jason Crosse wrote:
> On 16/01/2008 15:58, David Laakso wrote:
>> Don't know about Safari but Opera rounds decimals. Have you tried using 
>> em's?
> 
> The trouble with that is, although the outer container is of a fixed 
> width, I'd like the contents to remain flexible, in case a new tab 
> is added, or one removed.
> 
> Using ems would also mean that the layout would break when the user 
> changes font size.
> 
> I've just had a quick Google about for the rounding issue, but 
> nothing useful as yet...

Just throwing an idea out here...

Try setting "display: table-cell" on your <li>s and "display: table" on
your <ul>. It won't do anything in IE, but in the other browsers it should
turn your <li> elements into a row of table cells. That'll cause them to
ignore your margins, but you as long as you're ok with not using percentages
for the spacing you should be able to control that by setting 'border-spacing'
on the <ul> element.

~fantasai
______________________________________________________________________
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