I have a css menu on a webpage that is flowed horizontaly, as the items text in the menu are different widths I have used a padded amount around the text so that the entire menu takes up close to 100% of my page width. The structure is something like this
<ul>
<li><a href="#"> item 1</a></li>
<li><a href="#"> item 1</a></li>
<li><a href="#"> item 1</a></li>
</ul>
This looks fine in windows under a variety of browsers include Safari on windows. But on OSX safari / firefox the same emnu ahs an element pushed to the next line – breaking the menu. It seem that a 12px high Arial font is rendered a little wider on OSX the windows.
Is this right? I thought that the font reffered to as a cross platform font would be rendered the same. Is this perhaps poor practice [I’m adding padding the the a element to increase the target size for clicking on]

Font rendering differs from one OS to another, and there’s not much we can do about it.
If you strictly need that menu to be as wide as the entire page, I see two solutions:
display: tableon the<ul>container anddisplay: table-cellon each menu item.Here’s an example of the second strategy: http://jsfiddle.net/MartinodF/J8GX3/
Note that
display: tableis not supported by IE7.