tags:

views:

70

answers:

3

I want to know easiest way to create drop down list with html and css only.

+3  A: 

Use the select tag.

<select>
    <option>red</option>
    <option>green</option>
    <option>blue</option>
    <option>yellow</option>
</select>
+1  A: 

css


<style type="text/css">
select.mySelect{}
select.mySelect option{}
</style>

html

<select class="mySelect">
<option>Display</option>
</select>

Kieran
+2  A: 

Try these websites they may give you a clear idea:

http://sperling.com/examples/menuh/

http://www.cssplay.co.uk/menus/drop_examples.html

http://www.dynamicdrive.com/dynamicindex1/droptabmenu.htm

Hope they might help you!

Ryano
Thank you! these site are answers I need!
Shunter1112