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

  • Home
  • SEARCH
  • 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 7718093
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T03:04:49+00:00 2026-06-01T03:04:49+00:00

I am creating a small project on ASP.NET. I want a simple drop down

  • 0

I am creating a small project on ASP.NET. I want a simple drop down menu. Most of the solutions on web use jquery. Is there any simpler way or should I learn jquery ?

One more thing. The menu should work on IE.

  • 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-01T03:04:50+00:00Added an answer on June 1, 2026 at 3:04 am

    Some of the cleanest drop down implementations I have seen are based on semantic HTML (unordered lists, nav element(s), etc.) and the CSS :hover pseudo class. Semantic structures degrade nicely when script is not available and are interpreted well when consumed by devices like screen readers.

    Older versions of IE which do not support the :hover pseudo class can be accommodated with a snippet of script (no jQuery required).

    Suckerfish/Son of Suckerfish is a good example of this technique.

    Code/Description
    Examples

    Example

    Here is the simplest implementation I could create which works in IE7+, Chrome, FF, etc. No script required.

    Complete sample: http://jsfiddle.net/BejB9/4/

    HTML
    I’d wrap this in a nav tag in a finished document

    <ul class="nav">
        <li>This item has a dropdown
            <ul>
                <li>Sub item 1</li>
                <li>Sub item 2</li>
            </ul>
        </li>    
        <li>Item</li>
        <li>So does this item
                <ul>
                <li>Sub item 1</li>
                <li>Sub item 2</li>
            </ul>
        </li>
    </ul>
    

    CSS

    UL.nav > LI {
        list-style: none;
        float: left;
        border: 1px solid red;
        position: relative;
        height: 24px; /* height included for IE 7 */
    }
    
    UL.nav UL{
        left: -10000px;
        position: absolute;            
    }
    
    UL.nav > LI:hover UL{
        left: 0;
        top: 24px; /* IE7 has problems without this */
    }
    

    ​

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

Sidebar

Related Questions

I am creating a small app to teach myself ASP.NET MVC and JQuery, and
I'm creating a small app in ASP.NET MVC that generates ics (iCal) files based
I'm trying to learn ASP.NET MVC + Entity Framework by developing a small project.
I am creating a small commercial web project running Apache/WSGI/Django/MySQL. I have a development
Rails newbie here struggling with a small project. I am creating a simple ship
I'm creating a small framework for my web projects in PHP so I don't
I'm creating a small application on an embedded device that has a boa web
I'm working on a relatively small, but fast-changing project (a web application) with a
I am creating a small project that heavily relies on JavaScript. I come from
I am trying to learn symfony framework by creating a small project. Since I

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.