Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > CSS > CSS Cascading Style Sheets
|
CSS Cascading Style Sheets All issues relating to Cascading Style Sheets (CSS).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the CSS Cascading Style Sheets 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 May 10th, 2007, 10:10 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default font sizes in multiselect list

Can you have two font sizes in a multiselect list? EG:

<option value='someValue'>Normal Text (small text)</option>

I realize I can have a class in the <select> tag which controls my appearance. My first thought was to do somrthing like:

<option value='someValue'>Normal Text <span class='smallTextClassName'>(small text)</span></option>

As I suspected this fails. Am I trying to do the un-doable or is there a way?

TYIA





Wind is your friend
Matt
__________________
Wind is your friend
Matt
 
Old June 2nd, 2007, 12:40 PM
Registered User
 
Join Date: Jun 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No, the list will all have the font size defined in the <select> tag and cannot be changed in the options. I may be wrong, but I have tried it and it never worked. Peace.

 
Old June 3rd, 2007, 06:30 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

You are correct, only one style can be applied.

Wind is your friend
Matt





Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML 4.0 vs. XHTML 1.0 and font sizes Ron Howerton HTML Code Clinic 4 October 14th, 2008 07:05 AM
How to get multiselect values from list box in jsp krishnamoorthymca JSP Basics 0 December 19th, 2006 02:13 AM
multiselect list box display selected problem pmcquirk Javascript How-To 12 January 18th, 2005 12:55 PM
How a user can change font styles and sizes xristina Javascript 2 October 15th, 2004 06:01 AM
MultiSelect List Box and Other issues... snoopy92211 Access VBA 0 July 14th, 2004 01:27 PM





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