Jump to content

Inline List and IE 5/6


n3ightjay

Recommended Posts

Can anyone give me insight or a solution (preferably) as how to have this render correctly in IE 5/6

 

<style>
#navigation{
float:left;
width:100%;
margin:0px;
padding-bottom:5px;
text-align:right;
background:url('/app/webroot/img/layout/navBG.gif') repeat-x;
background-position:bottom;
}

#navigation a{
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
color:#999999;
text-decoration:none;
}

#navigation a:hover{color:#333333;}

#navigation ul {list-style:none;margin:0px 0px 0px 250px;padding:0;}

#navigation li {float:left;width:auto;height:20px;margin:0px 5px 0px 5px;padding:0;text-align:center;}
    li a {display:block;padding:0;margin:5px;height:100%;color:#FFF;text-decoration:none;}
    li a:hover, li a:focus, li a:active {background:url(/app/webroot/img/layout/navHover.gif) no-repeat;background-position:50% 100%;;}
</style>
</head>
<body>
<div id="navigation">
<ul>
	<li><a href="/about">About</a></li>
	<li><a href="/about_resume">Resume</a></li>
	<li><a href="/about_portfolio">Portfolio</a></li>
	<li><a href="/about_hire">For Hire</a></li>
</ul>
</div>

 

It renders inline with the hover effect in every browser except IE 5/6 in which it still renders as a vertical list ?!?!?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.