Connecting Tech Pros Worldwide Forums | Help | Site Map

2 column drop down

Newbie
 
Join Date: Oct 2008
Posts: 4
#1: Nov 7 '08
is there a way to have a drop-down list display 2 columns?

eWish's Avatar
Moderator
 
Join Date: Jul 2007
Location: Arkansas
Posts: 900
#2: Nov 7 '08

re: 2 column drop down


I have never done it, however I have had used two column unordered lists as links. I am sure doing it as a drop down menu would be easily done. Give it a try and if you have problems then post back and we will try and help.

--Kevin
codegecko's Avatar
Moderator
 
Join Date: May 2007
Location: United Kingdom
Posts: 395
#3: Nov 9 '08

re: 2 column drop down


Hi there,

If you're using the HTML <select> element, then the answer is a plain and simple "no".
However, you could create the effect of a two-column drop-down list using some CSS and a table, and then add a scrollbar to the table using overflow:scroll on a containing <div>, to create the effect of a dropdown.

Hope this helps.

codegecko
Reply