I have a page that I want to use as a template for my personal site and I am trying to use CSS for everything.
My page looks fine in IE6 but looking at it in Mac IE5 my <a>'s backgrounds don't show up as the right size and the text does not appear at all. In safari and netscape I get the same button issue, but the text shows.
------------------------------------------------------------
<div id="navBar">
<div class="navButton"><span><a href="#"><br/>Professional</a></span></div>
<div class="navButton"><span><a href="#"><br/>Personal</a></span></div>
<div class="navButton"><span><a href="#"><br/>Links</a></span></div>
</div>
------------------------------------------------------------
#navBar a {
text-decoration: none;
color: #999999;
background-image: url(../images/button.gif);
background-repeat: no-repeat;
height: 50px;
width: 150px;
text-align: center;
background-position: left top;
}
#navBar a:hover {
text-decoration: none;
color: #999999;
background-repeat: no-repeat;
height: 50px;
width: 150px;
text-align: center;
background-image: none;
}
------------------------------------------------------------
Any ideas?
My page looks fine in IE6 but looking at it in Mac IE5 my <a>'s backgrounds don't show up as the right size and the text does not appear at all. In safari and netscape I get the same button issue, but the text shows.
------------------------------------------------------------
<div id="navBar">
<div class="navButton"><span><a href="#"><br/>Professional</a></span></div>
<div class="navButton"><span><a href="#"><br/>Personal</a></span></div>
<div class="navButton"><span><a href="#"><br/>Links</a></span></div>
</div>
------------------------------------------------------------
#navBar a {
text-decoration: none;
color: #999999;
background-image: url(../images/button.gif);
background-repeat: no-repeat;
height: 50px;
width: 150px;
text-align: center;
background-position: left top;
}
#navBar a:hover {
text-decoration: none;
color: #999999;
background-repeat: no-repeat;
height: 50px;
width: 150px;
text-align: center;
background-image: none;
}
------------------------------------------------------------
Any ideas?