Please anyone help me how to create dropdown menu using htm5 and css
I need dropdown like attached image
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Nov 28, 2013, 8:46 PM EST
http://bavotasan.com/2011/style-select-box-using-only-css/
http://www.red-team-design.com/making-html-dropdowns-not-suck
samantaRank #3,157 · 454 reputationPosted Nov 28, 2013, 10:54 PM EST
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Nov 28, 2013, 11:24 PM EST
samantaRank #3,157 · 454 reputationPosted Nov 28, 2013, 11:30 PM EST
samantaRank #3,157 · 454 reputationPosted Nov 28, 2013, 11:32 PM EST
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Nov 28, 2013, 11:37 PM EST
Simple placing dropdown into a container DIV of a lesser width with overflow:hidden
for example:
samantaRank #3,157 · 454 reputationPosted Nov 29, 2013, 1:33 AM EST
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication5.WebForm1" %>
.back
{
background: transparent;
background-image:url('drop.jpg');
}
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Nov 29, 2013, 1:51 AM EST
Uchiha Itachi40 reputationPosted Dec 2, 2013, 10:36 PM EST
You can consider to try some C# code to implement a dropdown control. C# will be widely used in web developing and much more slick than html and css.
private void dropDownList_VisualListItemFormatting(object sender, VisualItemFormattingEventArgs args) { if (args.VisualItem.Chosen) { args.VisualItem.NumberOfColors = 1; args.VisualItem.BackColor = Color.Green; args.VisualItem.BorderColor = Color.Purple; } else { args.VisualItem.ResetValue(LightVisualElement.NumberOfColorsProperty, Kettic.WinControls.ValueResetFlags.Local); args.VisualItem.ResetValue(LightVisualElement.BackColorProperty, Kettic.WinControls.ValueResetFlags.Local); args.VisualItem.ResetValue(LightVisualElement.BorderColorProperty, Kettic.WinControls.ValueResetFlags.Local); } }samantaRank #3,157 · 454 reputationPosted Dec 3, 2013, 5:43 PM EST
Sanjay SinghRank #779 · 2.9K reputationPosted Apr 26, 2014, 7:06 AM EDT
from dropdown list
http://www.c-sharpcorner.com/Blogs/15231/
Amit TripathiRank #7,345 · 243 reputationPosted Jul 14, 2014, 1:21 AM EDT
http://cssdeck.com/labs/another-simple-css3-dropdown-menu