Connecting Tech Pros Worldwide Forums | Help | Site Map

Re: Word Spacing in a form SELECT element

Jukka K. Korpela
Guest
 
Posts: n/a
#1: Oct 16 '08
ZZ wrote:
Quote:
Ok, to partially answer my question:
You're upside-down fullquoting your own question. Sounds pretty hopeless,
but being an optimist, I'm taking a look...
Quote:
Quote:
>I have a form with a select element, and I would like to change the
>word spacing for the options.
Is there a reason to that?
Quote:
Quote:
>I'm a little confused as to what I
>should reference to do that. I have tried various combinations, but
>none have worked.
Yet you don't specify the URL of _any_ of your attempts.
Quote:
Quote:
>Anyone have an idea as to what class or id combo will allow me to
>change the word spacing for the options?
What makes you think _that_ is the problem?

You can refer to all <optionelements in a document using the selector
option

I'm pretty sure this wasn't your _real_ question. But since you don't
specify what you are aiming at and what you have tried, I just answered the
question you asked.

--
Yucca, http://www.cs.tut.fi/~jkorpela/


ZZ
Guest
 
Posts: n/a
#2: Oct 16 '08

re: Re: Word Spacing in a form SELECT element



If you don't understand the question, or just want to be sarcastic,
please don't waste mine and everyone else's time.

-Tom


On Fri, 17 Oct 2008 00:24:52 +0300, "Jukka K. Korpela"
<jkorpela@cs.tut.fiwrote:
Quote:
>ZZ wrote:
>
Quote:
>Ok, to partially answer my question:
>
>You're upside-down fullquoting your own question. Sounds pretty hopeless,
>but being an optimist, I'm taking a look...
>
Quote:
Quote:
>>I have a form with a select element, and I would like to change the
>>word spacing for the options.
>
>Is there a reason to that?
>
Quote:
Quote:
>>I'm a little confused as to what I
>>should reference to do that. I have tried various combinations, but
>>none have worked.
>
>Yet you don't specify the URL of _any_ of your attempts.
>
Quote:
Quote:
>>Anyone have an idea as to what class or id combo will allow me to
>>change the word spacing for the options?
>
>What makes you think _that_ is the problem?
>
>You can refer to all <optionelements in a document using the selector
>option
>
>I'm pretty sure this wasn't your _real_ question. But since you don't
>specify what you are aiming at and what you have tried, I just answered the
>question you asked.
ZZ
Guest
 
Posts: n/a
#3: Oct 17 '08

re: Re: Word Spacing in a form SELECT element


On Thu, 16 Oct 2008 20:27:17 -0400, "Jonathan N. Little"
<lws4art@central.netwrote:
Quote:
>ZZ wrote:
Quote:
>If you don't understand the question, or just want to be sarcastic,
>please don't waste mine and everyone else's time.
>
>Please don't top post.
>
Quote:
>>
>On Fri, 17 Oct 2008 00:24:52 +0300, "Jukka K. Korpela"
><jkorpela@cs.tut.fiwrote:
>>
Quote:
>>ZZ wrote:
>>>
>>>Ok, to partially answer my question:
>>You're upside-down fullquoting your own question. Sounds pretty hopeless,
>>but being an optimist, I'm taking a look...
>>>
>>>>I have a form with a select element, and I would like to change the
>>>>word spacing for the options.
>>Is there a reason to that?
>
>Agree, why would you wish it?

It matters? This is a technical question.

Quote:
Quote:
Quote:
>>>
>>>>I'm a little confused as to what I
>>>>should reference to do that. I have tried various combinations, but
>>>>none have worked.
>>Yet you don't specify the URL of _any_ of your attempts.
>>>
>>>>Anyone have an idea as to what class or id combo will allow me to
>>>>change the word spacing for the options?
>>What makes you think _that_ is the problem?
>
>The ID or CLASS can be whatever you wish it to be, the identifier is not
>important but the rules that you define!
Yes, I am aware.
Quote:
Quote:
Quote:
>>You can refer to all <optionelements in a document using the selector
>>option
>>>
>>I'm pretty sure this wasn't your _real_ question. But since you don't
>>specify what you are aiming at and what you have tried, I just answered the
>>question you asked.
>>
>
>As I believe has been stated, do not expect full browser support! This
>will not work with IE...
That pretty much answers the question then - when I researched this on
the web, the postings I found were a couple of years old. I didn't
know if someone came up with a way to pull this sort of thing off in
IE or not (as per my previous posting). It works fine in other
browsers I tested (firefox, safari, chrome).

I've seen it done before, but only using javascript to force it in all
browsers. I wanted to try avoid doing that, but it seems that won't
be possible.

Tom
Jonathan N. Little
Guest
 
Posts: n/a
#4: Oct 17 '08

re: Re: Word Spacing in a form SELECT element


ZZ wrote:
Quote:
That pretty much answers the question then - when I researched this on
the web, the postings I found were a couple of years old. I didn't
know if someone came up with a way to pull this sort of thing off in
IE or not (as per my previous posting). It works fine in other
browsers I tested (firefox, safari, chrome).
>
Plan A: Take over the world and make using IE a capital offense

Plan B: Become a corporate raider, take over Microsoft and force the
company to fix IE

Plan C: A more practical solution if you must have this "feature" is to
inject &nbsp; into the option text.

<option>Now&nbsp;&nbsp;words&nbsp;&nbsp;have&nbsp; &nbsp;extra&nbsp;&nbsp;space</option>

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
RW
Guest
 
Posts: n/a
#5: Oct 17 '08

re: Re: Word Spacing in a form SELECT element


ZZ schreef:
Quote:
It works fine in other
browsers I tested (firefox, safari, chrome).
But not in Opera

--
Rob
Bergamot
Guest
 
Posts: n/a
#6: Oct 18 '08

re: Re: Word Spacing in a form SELECT element



RW wrote:
Quote:
ZZ schreef:
>
Quote:
>It works fine in other
>browsers I tested (firefox, safari, chrome).
>
But not in Opera
Not surprising - Opera has always been a little sketchy where it comes
to styling form controls.

--
Berg
Closed Thread


Similar HTML / CSS bytes