On 17 Dec 2004, at 8:45 pm, Andy Budd wrote:
Hi Folks,
I'm creating a simple vertical nav bar using a styled list. Should be
pretty easy as it's something I've done a hundred times. However this
time I've run into problems with browser rounding errors.
http://www.message.uk.com/test/nav/
#firstAttempt ul#mainNav li a {
/* rest of styles */
line-height:normal /* <--------- this fixes it in Mozilla */
}
Use padding (in px) to create the height of the line box.
<http://dev.l-c-n.com/Gecko/moz_spacing.php>
for some background.
Philippe
---/---
Philippe Wittenbergh
now live : <http://emps.l-c-n.com/>
code | design | web projects : <http://www.l-c-n.com/>
IE5 Mac bugs and oddities : <http://www.l-c-n.com/IE5tests/>
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************