Jump to content

Simple Drop-Down Box Query


VatsaL

Recommended Posts

Hello all,I had seen a "heading" effect in a dropdown box somewhere before, but can't find it now.Its something like this: http://www.b3ta.cr3ation.co.uk/data/JPG/dropdown.JPGwhere you can create a heading inside a dropdown box with just a simple html tag, if I remeber correctly.I cant find the code for it now.Anyone know how to create a heading inside the dropdown box? what code to use?thanksVatsaL

Link to comment
Share on other sites

like this:

<form action="##" method="post"><select name="cssdropdown"><option value="0">-- select one --</option><option value="0"></option><option value="a" style="font-weight:bold; background-color:#F0F0F0;">- Serch Engines</option><option value="a1">  · Google</option><option value="a2">  · DMOZ</option><option value="a3">  · Yahoo</option><option value="a4">  · Lycos</option><option value="a5">  · Alta Vista</option><option value="b" style="font-weight:bold; background-color:#F0F0F0;">- Web Mail</option><option value="b1">  · Gmail</option><option value="b2">  · Yahoo</option><option value="b3">  · AOL</option></select></form>

in action:http://www.iribbit.net/i/_files/css_dropdown.htm

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...