Jump to content

Nav links shows in firefox but not in IE9


lional

Recommended Posts

Hi

I am trying to write a site but my nav links will not show in IE9 but shows perfectly in firefox.

 

I am inserting the code sections

The CSS are as follows

.tail-top { background:url(images/tail-top.gif) left top repeat-x;}
#main {width:916px; margin:0 auto; position:relative;}
#header {height:105px;}
#header, #content, #footer { font-size:0.75em;}
ul { list-style:none;}

.site-nav { padding-top:0px; width:100%; overflow:hidden; color:black}
.site-nav li { font-size:15px; line-height:1.3em; background:url(images/divider.gif) no-repeat right top; padding:0 30px; float:left;}
.site-nav li a { color:#fff; text-decoration:none;}
.site-nav li a:hover,
.site-nav  li a.act { 
color:#84da2e;
}

And the HTML is

 <div class="tail-top">
        <div id="main">
            <!-- header -->
            <div id="header">
                <ul class="site-nav">
                   <li><a href="index.php" class="act">Home</a></li>
                    <li><a href="Lottopoolresults.php">LottoPool Results</a></li>
                    <li><a href="FAQ.php">FAQ</a></li>
                    <li><a href="Contactus.php">Contact Us</a></li>
                    <li><a href="Myaccount.php">My Account</a></li>
                    <li class="last"><a href="Signup1.php">Sign Up</a></li>
                </ul>

Any help will be appreciated

 

Thanks

 

Lional

Link to comment
Share on other sites

Not sure what you mean with "links don't show"

I just ran your code (and added 3 closing </div> tags that were missing) and it worked perfectly.

I changed the image though for a background color since i don't have your images.

 

If you have an online example of the stuff you have difficulty with i can have a look what might cause this.

 

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.