Skip to main content
Participant
March 28, 2008
Question

Problems with Dropdown option

  • March 28, 2008
  • 2 replies
  • 289 views
Hi all,

I am new to coldfusion.I have created a coldfusion page demo.cfm.
The page consists of contacts dropdown.The options of this dropdown contains first name,last name,email address as one option.I am getting these values from database.

My question is

I have to align all firstnames in options to left,Last names to middle,Email addresses to right.
I mean all Email addresses of different options should appear uniformly.

If the first name/lastname consists less characters the email address is shifting towards left and displayed below last name of option above it.

Please resolve this issue for me,
Thanks in advance.
    This topic has been closed for replies.

    2 replies

    Inspiring
    April 14, 2008
    After you run your query, loop through it to determine the longest first and last names. Then loop through it again and add trailing spaces as required.
    Participating Frequently
    March 28, 2008
    It looks like it is not directly related with CF and it is in HTML layer.

    I am trying to understand your problem. Can you share some code with us?