safari and firefox displaying differently
-
my nav bar is vertical and im trying to get it to match up with an image i have in the background, but its different on safari and firefox.
help please!
here is the code for the navbarand here is the link to my site:
http://phoenix.sheridanc.on.ca/~ccit783/
#access {
display: block;
float: left;
margin-left: -171px;
margin-top: 75px;
position: fixed;
width: 100px;
font-size: 13px;
line-height: 13px;
}
#access ul {
font-size: 13px;
list-style: none;
margin: 0 0 0 -0.8125em;
padding-left: 0;
}
#access li {
float: center;
position: relative;
padding-bottom: 85px;
}
#access a {
color: #fff;
display: block;
line-height: 16px;
padding: 0 10px;
text-decoration: none;
}
#access ul ul {display: none;
float: left;
margin: 0;
position: relative;
top: 20px;
left: 0;
width: 188px;
}
#access ul ul ul {
left: 24px;
top: 0;
}
#access ul ul a {
color: #444;
font-size: 13px;
font-weight: normal;
height: 50px;
line-height: 10px;
padding: 10px 10px;
width: 168px;
}
#access li:hover > a,
#access ul ul :hover > a,
#access a:focus {
}
#access li:hover > a,
#access a:focus {
color: #373737;
}
#access ul li:hover > ul {
display: block;
}
#access .current-menu-item > a,
#access .current-menu-ancestor > a,
#access .current_page_item > a,
#access .current_page_ancestor > a {
font-weight: bold;
}
- The topic ‘safari and firefox displaying differently’ is closed to new replies.