Listbox/combo box in ASP

# Thread: Listbox/combo box in ASP

1. Junior Member
Join Date
Dec 1969
Posts
16

## Listbox/combo box in ASP

I have a list box that gets populated by<BR><BR>&#060;option VALUE =&#039;&#060;%=(rs4(0).Value)%&#062;&#039;&#062;&# 060;%=(rs4(1).Value)%&#062;&#060;%=(rs4(2).Value)% &#062;&#060;/OPTION&#062;<BR><BR>I see the 2 fields on the recordset, but I was wondering if there was a way in insert a tab between them to align them properly.

2. Senior Member
Join Date
Dec 1969
Posts
314

## RE: Listbox/combo box in ASP

&#060;option VALUE =&#039;&#060;%=(rs4(0).Value)%&#062;&#039;&#062;&# 060;%=(rs4(1).Value)%&#062;&bnsp;&#060;%=(rs4(2).V alue)%&#062;&#060;/OPTION&#062; <BR>

3. Senior Member
Join Date
Dec 1969
Posts
314

## RE: Listbox/combo box in ASP

&#060;option VALUE =&#039;&#060;%=(rs4(0).Value)%&#062;&#039;&#062;&# 060;%=(rs4(1).Value)%&#062;& nbsp;Â*&#060;%=(rs4(2).Value)%&#062;&#060;/OPTION&#062; <BR>

4. Senior Member
Join Date
Dec 1969
Posts
314

## RE: Listbox/combo box in ASP

Ignore this Post! See post below

5. Senior Member
Join Date
Dec 1969
Posts
314

## Ignore the 2 previous posts

need to be able to edit. ;)

6. Junior Member
Join Date
Dec 1969
Posts
16

## RE: Listbox/combo box in ASP

Hi the Â* does put a space between the field, but is there a way to left align the values of the second field? Right now they look like this. I used underscores because the extra blank spaces get deleted. So just pretend the underscores are "blanks"<BR><BR>Smith__Bob<BR>McFadden__Jake<BR>Oz __Jane<BR><BR>Is there a way to make it look like this?<BR>Smith______Bob<BR>McFadden__Jake<BR>Oz___ _____Jane

7. God
Senior Member
Join Date
Dec 1969
Posts
18,177

## Not that I'm aware of. (eop)

.

8. Senior Member
Join Date
Dec 1969
Posts
314

## RE: Not that I'm aware of. (eop)

I am not aware of any either. The only thing that comes to mind it trying to use CSS to do it, but i am not sure if that will work. Have never tried it.

9. Senior Member
Join Date
Dec 1969
Posts
11,247

## RE: Listbox/combo box in ASP

This is possible but you have to do a lot of work to get it and the value is not necessarily worth the effort!<BR><BR>If you are interested still (I hope not really) I can give you the steps needed.

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•