Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 844127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T06:14:16+00:00 2026-05-15T06:14:16+00:00

I am trying to solve a problem with a CSS menu where the menu

  • 0

I am trying to solve a problem with a CSS menu where the menu does not display properly in IE 6
alt text http://content.screencast.com/users/Dokmanc/folders/Jing/media/72b0aae5-4e7a-437e-8a57-da892b05b7ad/2010-06-15_2056.png

I see that the HTML has some conditional code to make it work with different browsers but I do not understand it well enough.

Can someone suggest a fix so the selected tab in order displayed without the grey breaK?

Thanks!

Here’s the CSS:

#pad
{
    height: 140px;
}
.dropline
{
    position: relative;
    padding-bottom: 0px;
    list-style-type: none;
    margin: 0px 0px 0px 5px;
    padding-left: 0px;
    width: 860px;
    padding-right: 0px;
    background: url(../images/menus/ulback.gif) repeat-x;
    height: 40px;
    top: 0px;
    list-style-image: none;
    padding-top: 0px;
    left: 5px;
}
.dropline TABLE
{
    margin: -3px -10px;
    width: 25px;
    border-collapse: collapse;
    height: 17px;
}
.dropline LI
{
    margin-bottom: 0px;
    float: left;
}
.dropline LI A
{
    padding-bottom: 0px;
    line-height: 40px;
    padding-left: 0px;
    padding-right: 19px;
    display: block;
    font-family: tahoma, sans-serif;
    float: left;
    height: 40px;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    padding-top: 0px;
}
.dropline A
{
    text-align: right;
    padding-bottom: 0px;
    line-height: 40px;
    padding-left: 0px;
    padding-right: 19px;
    font-family: tahoma, sans-serif;
    float: right;
    height: 40px;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    padding-top: 0px;
}
.dropline A:hover
{
    color: yellow;
}
.welcomeuser
{
    text-align: right;
    padding-bottom: 0px;
    line-height: 40px;
    padding-left: 20px;
    padding-right: 0px;
    font-family: tahoma, sans-serif;
    float: right;
    height: 40px;
    color: #fff;
    clear: inherit;
    font-size: 12px;
    text-decoration: none;
    padding-top: 0px;
}
.dropline LI A B
{
    padding-bottom: 0px;
    padding-left: 20px;
    padding-right: 0px;
    display: block;
    float: left;
    height: 40px;
    cursor: pointer;
    padding-top: 0px;
}
.dropline UL
{
    z-index: 10;
    border-bottom: #fff 1px solid;
    position: absolute;
    padding-bottom: 0px;
    list-style-type: none;
    margin: 0px;
    padding-left: 0px;
    width: 860px;
    padding-right: 0px;
    background: #f8f8f8;
    height: 25px;
    border-top: #ff9933 3px solid;
    top: 40px;
    list-style-image: none;
    padding-top: 0px;
    left: -9999px;
}
.dropline UL LI
{
    line-height: 25px;
    height: 25px;
}
.dropline UL.right LI
{
    float: right;
}
.dropline UL LI A
{
    padding-bottom: 0px;
    line-height: 25px;
    padding-left: 10px;
    padding-right: 10px;
    height: 25px;
    color: #000;
    font-size: 11px;
    font-weight: bold;
    border-right: #e60 1px solid;
    padding-top: 0px;
}
.dropline UL LI A:hover
{
    line-height: 25px;
    background: none transparent scroll repeat 0% 0%;
    height: 25px;
    color: #c60;
}
.dropline UL.right LI A
{
    border-left: #e60 1px solid;
    border-right: 0px;
}
.dropline UL LI A.last
{
    border-bottom: 0px;
    border-left: 0px;
    border-top: 0px;
    border-right: 0px;
}
.dropline :hover UL
{
    left: 0px;
}
.dropline LI.current UL
{
    z-index: 1;
    left: 0px;
}
.dropline LI.current A
{
    line-height: 36px;
    background: url(../images/menus/tab_a.gif) no-repeat right top;
    height: 44px;
}
.dropline LI.current A B
{
    line-height: 36px;
    background: url(../images/menus/tab_b.gif) no-repeat left top;
}
.dropline LI.current UL LI A
{
    padding-bottom: 0px;
    line-height: 25px;
    padding-left: 10px;
    padding-right: 10px;
    background: none transparent scroll repeat 0% 0%;
    height: 25px;
    color: #000;
    padding-top: 0px;
}
.dropline LI.current UL LI.current_sub A
{
    color: #c60;
}
.dropline LI.current UL LI A:hover
{
    color: #c60;
}

And here’s the ASPX markup:

<div id="top_nav">   
    <asp:ContentPlaceHolder ID="phTopNav" runat="server">
        <!-- MENU -->
        <ul id="dropline" class="dropline" runat="server" style="left: -6px; top: -2px; width:1000px;" clientidmode="Static">

             <li runat="server" id="Home">
                <a runat="server" id="lnkHome" href="../Default.aspx"
                title="Go to the Home page"><b>Home</b>
                <!--[if gte IE 7]><!--></a>
                <!--<![endif]-->
                <!--[if lte IE 6]>
                <table>
                    <tr>
                        <td>
                            <![endif]--><!--[if lte IE 6]>
                        </td>
                    </tr>
                </table>
                </a><![endif]-->
             </li>

            <li runat="server" id="ApplyNow">
                <a runat="server" id="lnkEditOrder" href="../OrderChinaVisa.aspx" title="Use our Price Calculator and simultaneously begin the China Visa application process!"><b>Apply Now!</b>
                <!--[if gte IE 7]><!--></a>
                <!--<![endif]-->
                <!--[if lte IE 6]>
                <table>
                    <tr>
                        <td>
                            <![endif]--><!--[if lte IE 6]>
                        </td>
                    </tr>
                </table>
                </a><![endif]-->
             </li>
            <li runat="server" id="CheckStatus">
                <a id="lnkCheckStatus" runat="server" href="../Check_Status.aspx"
                title="Check on the status of a placed order"><b>Check Status</b><!--[if gte IE 7]><!--></a><!--<![endif]-->
                <!--[if lte IE 6]>
                <table>
                    <tr>
                        <td>
                            <![endif]--><!--[if lte IE 6]>
                        </td>
                    </tr>
                </table>
                </a><![endif]--></li>
            <li runat="server" id="Affiliate">
                <a id="lnkAffiliate" runat="server" href="../Secure/VisaActivity.aspx"
                title=""><b>Affiliate</b><!--[if gte IE 7]><!--></a><!--<![endif]-->
                <!--[if lte IE 6]>
                <table>
                    <tr>
                        <td>
                            <![endif]--><!--[if lte IE 6]>
                        </td>
                    </tr>
                </table>
                </a><![endif]--></li>
        </ul>
    </asp:ContentPlaceHolder>
</div>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T06:14:17+00:00Added an answer on May 15, 2026 at 6:14 am

    Dude,
    Get rid of all that conditinal crap in your markup and it’ll work for all versions of IE.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's a problem I've been trying to solve at work. I'm not a database
I'm trying to solve the problem of passing a 2-dimensional table into JavaScript AJAX
I'm trying to solve the 3n+1 problem and I have a for loop that
I'm trying to solve this flickering problem on the iphone (open gl es game).
In trying to solve the ajax back button problem I have found the Really
I have a problem I'm trying to solve involving interfaceing a C++ program with
I was trying to solve my XNA Font problem , when I found this
(see here for the problem I'm trying to solve) How do you get hibernate
I have a small math problem I am trying to solve Given a number
I am trying to solve numerically a set of partial differential equations in three

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.