You could calculate the exact with for each and set it, but that's additional work, both now and whenever you need to update it. Thus, percentage width is ideal.
As to em measurement, that's in relation to the font size ratio, not page/block width, so it's not desirable in this case.
Hi, I'm wondering how to make the "buttons" on my navigation bar spread out and fit a particular width.
The navbar width is 700px. I have 7 buttons on this navbar.
how does one create navigation "buttons" to spread out to width I want (700px) AND NOT break into another line? That happened in Internet Explorer (IE).
My guess is to use PERCENT measurement for the buttons? I had used the em unit for measurement but the navbar's last button broke into another line.
here is the website URL:
here is the link to the navigation .css file: