Wrox Programmer Forums
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 5th, 2003, 06:22 PM
Registered User
Join Date: Nov 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Drop down box format

I am pulling 2 fields from a database to a drop down box. One is the description and the other the cost/price - both on the same line. I want just the cost/price to be in red font. Does any one knows how to do it

Good is not good enough if you want to be the best!........Julitin
Old November 6th, 2003, 12:02 PM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

So you want something that looks like this?
| Description    Cost/Price |V| 
| Description    Cost/Price   | 
| Description    Cost/Price   | 
I don't think that you can do multiple styles within a single select box option. You can change the format of the option as a whole (and each individually at that), but not the text within it.

Work smarter, not harder.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Static Drop Down Box watkibri Classic ASP Components 1 February 15th, 2006 11:25 PM
drop down box selected value crmpicco HTML Code Clinic 1 March 31st, 2005 09:56 AM
drop down select box shoakat Classic ASP Databases 1 February 10th, 2005 04:42 AM
Drop down Box NomAnor Classic ASP Basics 2 March 29th, 2004 12:21 PM
Search using drop down list box and a text box tcasp Classic ASP Basics 1 July 31st, 2003 02:58 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.