The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Safari font issue – adding space above Re: [Solved] Safari font issue – adding space above


wow wow wow. Tell your wife not give up on CSS so soon. I found the issue. Each browser has its own default stylesheet it uses to show elements on the page. I would highly recommend inserting a browser reset into your main stylesheet. Right now your ul #navlist has a style of margin-left 0 but by default safari adds margin to the top and bottom of 1em. If you look at your page using safari web developer toolbar you will see the properties listed under user agent stylesheet.

So add this to the top of your stylesheet for global browser style control.

Or if you want to target just the #navlist I would do {margin: 0;} KABOOM! Snaps in place doesn’t it? ;)