PDA

View Full Version : another drop down question



techris
Apr 3rd, 2007, 04:43 AM
i am using php to populate a drop down menu. Each item in my menu has a corresponding type of data, so I have programmed the php to show the item and then the type..

example:

example1 thrilling
ex2 wholesome
examp3 happy
exa4 sad


I was wondering if javascript could allow me to align the display of each type of data.

example:

example1 thrilling
ex2 wholesome
examp3 happy
exa4 sad

or even:

example1 thrilling
ex2 wholesome
examp3 happy
exa4 sad

Does anyone have an idea of how to do this?

Thanks again!

iLLin
Apr 3rd, 2007, 05:02 AM
huh? Everything looks the same?

techris
Apr 3rd, 2007, 05:36 AM
That wasn't very helpful.

I need to align 2 different values that show up in each field.
The name needs to be left aligned and the type right aligned in the same line.

Kindof like having a table row with 2 columns in each drop down option line.

Does that help?