mrmozer
04-19-2009, 03:31 AM
My website looks perfect in all browsers except Internet Explorer.
I tested it on IE7 and my navigation links don't look too good.
Problem: On HOVER the top border around the link does not appear ONLY IN IE!
Link to my site:
http://www.s239171386.onlinehome.us/index.php
My CSS:
#navbar{
background-image: url(../images/navbar_blue.png);
background-repeat: no-repeat;
height: 60px;
width: 798px;
text-align:center;
position: relative;
margin-top:29px;
margin-left:6px;
outline: none;
}
#navlinks{
position:relative;
width:797px;
height:45px;
top:15px;
}
#navbar a:link {
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
letter-spacing: 2.3pt;
font-size: 14px;
color: #BBB;
text-decoration: none;
padding-top:5px;
padding-bottom: 5px;
border: 1px dashed #212121;
}
#navbar a:hover {
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
letter-spacing: 2.3pt;
font-size: 14px;
color: #FFF;
text-decoration: none;
background-color: #333;
padding-top:5px;
padding-bottom: 5px;
border: 1px dashed #557DAD;
overflow:visible;
visibility:visible;
}
and my HTML:
<div id="navbar">
<div id="navlinks">
<ul>
<li><a href="index.php"> Home </a></li>
<li><a href="about.php"> About </a></li>
<li><a href="portfolio/gallery/index.php"> Portfolio</a></li>
<li><a href="/contact"> Contact </a></li>
</ul>
</div>
</div>
Any help would be appreciated :)
I tested it on IE7 and my navigation links don't look too good.
Problem: On HOVER the top border around the link does not appear ONLY IN IE!
Link to my site:
http://www.s239171386.onlinehome.us/index.php
My CSS:
#navbar{
background-image: url(../images/navbar_blue.png);
background-repeat: no-repeat;
height: 60px;
width: 798px;
text-align:center;
position: relative;
margin-top:29px;
margin-left:6px;
outline: none;
}
#navlinks{
position:relative;
width:797px;
height:45px;
top:15px;
}
#navbar a:link {
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
letter-spacing: 2.3pt;
font-size: 14px;
color: #BBB;
text-decoration: none;
padding-top:5px;
padding-bottom: 5px;
border: 1px dashed #212121;
}
#navbar a:hover {
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
letter-spacing: 2.3pt;
font-size: 14px;
color: #FFF;
text-decoration: none;
background-color: #333;
padding-top:5px;
padding-bottom: 5px;
border: 1px dashed #557DAD;
overflow:visible;
visibility:visible;
}
and my HTML:
<div id="navbar">
<div id="navlinks">
<ul>
<li><a href="index.php"> Home </a></li>
<li><a href="about.php"> About </a></li>
<li><a href="portfolio/gallery/index.php"> Portfolio</a></li>
<li><a href="/contact"> Contact </a></li>
</ul>
</div>
</div>
Any help would be appreciated :)