Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

nav bar IE 5.0 problem

Status
Not open for further replies.

gokeeffe

Programmer
Jan 11, 2005
170
IE
Hi all,

I'm using the following code to style my nav bar I actually got this code from the sitepoint book 101 Essential Tips and tricks it works great in IE 5.5 and 6 but it is invisible in IE 5.0 what is wrong with it or does anyone have code that will produce a horizontal nav bar in every browser without change.

Anyway here's my code

#navigation{
font-family: arial,helvetica,sans-serif;
font-size: .9em;
}
#navigation ul {
list-style:none;
margin: 0;
padding: 0;
padding-top: 4px;
}
#navigation li{
display: inline;
}
#navigation a:link, #navigation a:visited{
padding: 3px 10px 2px 10px;
color:#ffffff;
background-color:#b51032;
text-decoration: none;
border: 1px solid #711515;
}
#navigation a:hover{
color:#ffffff;
background-color:#711515;
}

Tks
 
Dan Thanks for the reply but i figured it out in the mean time. I forgot to put in a blank space after my link words

<ul>
<li><a href="index.php">Home </a></li>
<li><a href="howitworks.php">How it works </a></li>
<li><a href="tellafriend.php">Tell A Friend </a></li>
<li><a href="register.php">Register </a></li>
<li><a href="login.php">Log-in </a></li>
<li><a href="forgot_password.php">Forgot Password </a></li>
<li><a href="terms_conditions.php">Terms & Conditions </a></li>
</ul>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top