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 7729811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T06:03:57+00:00 2026-06-01T06:03:57+00:00

I have make a new dropdown navi in css . Chrome, firefox, safari is

  • 0

I have make a new dropdown navi in css .

Chrome, firefox, safari is running fine but IE7 is not show of drop-down .

css

.cl{clear:both;}
#navi{
    background:#0082c8;
    position:relative;
    margin-top:15px;
}
#navi:after{
    position:absolute;
    content:"";
    left:0;
    right:0;
    top:0;
    height:5px;
    background:#00a7ff;
    border-top:1px solid #0285cb;
    border-bottom:2px solid #0068a6;
    box-shadow:inset 0 0 0 1px #26c6f8;
}

#navi:before{
    position:absolute;
    content:"";
    left:0;
    right:0;
    bottom:0;
    height:5px;
    background:#00a7ff;
    border-top:1px solid #0285cb;
    border-bottom:2px solid #0068a6;
    box-shadow:inset 0 0 0 1px #26c6f8;
}


#navi > li{
    float:left;
    margin:0 10px;
    position:relative;
    padding:14px 0;
}

#navi li a, .subnavi li a{
    color:white;
    text-decoration:none;
    display:inline-block;
    line-height:29px;
    padding:0 13px;
    font-size:16px;
    font-family:arial;
    text-shadow: 0px 2px 2px #034e9f;
    filter: dropshadow(color=#034e9f, offx=0, offy=2); 
}

#navi > li:hover > a, li:hover > a , #navi li a.active{
    background:#055c9f;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px; 
    -webkit-box-shadow: inset 0px 3px 3px 0px #042960;
    -moz-box-shadow: inset 0px 3px 3px 0px #042960;
    box-shadow: inset 0px 3px 3px 0px #042960;
    border:1px solid #009ada; 
    color:#f7cf00;
    line-height:27px;
    padding:0 12px;               
}

.subnavi{
    position:absolute;
    display:none;
    top:51px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px; 
    -webkit-box-shadow: 0px 0px 3px 1px #979395;
    -moz-box-shadow: 0px 0px 3px 1px #979395;
    box-shadow: 0px 0px 3px 1px #979395; 
    background:#0082c8;
    border:1px solid #005890;
    padding:10px 0;
    white-space:nowrap;
}

#navi li:hover .subnavi{
    display:block;

}
#navi .subnavi li{
    margin:0;
}
#navi .subnavi li a{
    display:block;
    font-size:13px;
    padding:0 15px;
    border-radius:0;
    line-height:27px;
}
#navi .subnavi li a:hover{
    padding:0 15px;
    border-radius:0;
    border-left:0;
    border-right:0;
    line-height:25px;
}


​

HTML

<ul id="navi">
    <li><a href="" class="active">About</a></li>
    <li><a href="">Services</a>
        <ul class="subnavi">
            <li><a href="">Web Development</a></li>
            <li><a href="">WordPress</a></li>
            <li><a href="">Graphic Design</a></li>
            <li><a href="">Icon Design</a></li>
            <li><a href="">Motion Graphics</a></li>    
        </ul>

    </li>
    <li><a href="">Works</a></li>

    <div class="cl"></div>
</ul>​

Link here http://jsfiddle.net/rohitazad/3qPbE/11/

  • 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-06-01T06:03:59+00:00Added an answer on June 1, 2026 at 6:03 am

    Hi This is not the answer but its just a thought from my side.

    Insted of using float: left; you can try with display:inline-block; and add hack for IE:

    Zoom:1;
    *display:inline;

    Try just this. If its working Try next time onwards Disply:inline-block;

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

Sidebar

Related Questions

I have a dropdown box (Combobox). Everytime I make a new selection a table
I have a problem with datePicker. When a make a new text field with
I have created a file with XmlDocument xmldoc = new XmlDocument(); Can I make
I am new in java. I try to make a program and I have
How to make order by Column variable because I have a dropdown on page
I'm new to jquery and i'm trying to make a dropdown menu list like
Is it possible onHover to make HTML dropdown elements adopt a new background color
I have make a messaging system in which user can send messages to each
Using this sample : I have make my own Fragment that holds tabhost and
I have to make column charts in Excel using VBA only (no user input).

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.