1 reply [Last post]
Trickster
Trickster's picture
Offline
newbie
Last seen: 2 years 40 weeks ago
Timezone: GMT-5
Joined: 2016-10-03
Posts: 1
Points: 2

My nav links are not lining up in firefox only, I narrowed it down to having to do with my anchor links.

#navigation > ul > li > a{
position: relative;
text-decoration: none;
color: white;
font-size: 16px;
top: 16px;
padding: 14px 24px;
margin: -13px;

}

That is the css code that I have set for my anchor links, all the other browsers seem to be fine, can you help me figure out what is wrong?

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 3 weeks 3 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5342
Points: 2963

Hi Trickster, Without a link

Hi Trickster,
Without a link to the site it's pretty hard to guess, but I would look at the negative margin.
margin: -13px;