"Michael G" <mike-g@[EMAIL PROTECTED]
> wrote in message
news:1124511387_3567@[EMAIL PROTECTED]
> Is there any way to format text within a option tag. I have tried a
> variety of thing but
> all seem to be a hack. I want and like the ability to select items from
a
> list because is
> seems so natural but getting them to look like something has been a bit
of
> a challenge
> to say the least.
>
> <select>
> <option>CS 445 3 Fall 2005</option>
> <option>ENEX 333 2 Fall 2005</option>
> ...
> </select>
>
> Looks like this (maybe a little exaggerated)
> CS 445 3 Fall 2005
> ENEX 333 2 Fall 2005
>
> I am using a fixed width font so that helps a little but...I have found
no
> way, except
> (which I don't like), to get some consistent spacing between the
> strings in
> the option tag.
you are going to have to use to get your spacing. but, you can
also
use CSS to get your font formatting...
<select multiple name="class" style="font-family:Courier
New,Courier,mono;">
<option><pre>CS 445 3 Fall 2005</pre></option>
<option><pre>ENEX 333 2 Fall 2005</pre></option>
...
</select>
I suggest you give the user the option to repeatedly "add" classes to some
sort of internal list/db table, even if they multi-select to save time.
they will probably be more grateful for it.
>
> What I would like is this, with the ability to select one or more.
>
> CS 445 3 Fall 2005
> ENEX 333 2 Fall 2005
>
>
> Thanks for any help.
> Mike
>
>
> ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet
> News==----
> http://www.newsfeeds.com
The #1 Newsgroup Service in the World! 120,000+
> Newsgroups
> ----= East and West-Coast Server Farms - Total Privacy via Encryption
> =----


|