Browser Differences... Solved!

That was much simpler than anticipated. Read more if you want the nerdy details.

The main problem I encountered was an excess 3 pixel border on the left edge of the menu on Internet Explorer 6 (and older). This was remedied with:
margin-left: 6px !important;
margin-left: 3px;

Most browsers would get a proper 6 pixel margin to the left of the menu while IE6 (and below) would get a 3 pixel margin (plus the 3 they add automatically). This is because IE6 (and below) doesn't understand !important which means that the 6px line should supersede the 3px line so it uses the 3px value while other browsers use the 6px value.

Let's
test
more
floated
objects.


[ 24 February, 2008 ] • [ William Hedrick ]

If you enjoyed the site, please consider donating to a charity in our name.
Right now PAR is supporting a Crohn's disease fundraiser.

Comments

No comments yet. You can be the first!

Add Comment