Hey guys,
Here’s the issue:
If you look at the site here, you’ll see that in Safari 4, there’s a big gap between the pricing table and the navigation. In Firefox there’s just a tiny gap. I’m using a negative margin on the Nav to pull it out of the content box by -54px, which is applied directly to the <ul id=“nav”> containing it.
It seems that these browsers interpret this differently. Do you know which one is doing this correctly? And how to fix the other one?
Here’s the Nav css:
#nav {
float: right;
margin: 40px -54px 0 0;
padding: 0;
}
#nav li {
margin: 0;
padding: 0;
}
#nav a {
display: block;
padding: 0;
margin: 0;
width: 182px;
height: 52px;
background: url('../images/nav.png') top left no-repeat;
text-indent: -999em;
}
Here’s the table css:
.col1 {
width: 35%;
}
.col2 {
width: 65%;
}
caption {
padding: 1em 0;
font-size: 1.2em;
}
th {
font-weight: bold;
}
th, td {
font-size: .8em;
vertical-align: top;
padding: 4px;
}
table#pricing {
margin-right: 10px;
}
I’m also using a reset similar to Eric Meyer’s that’s first in the imported files.