On Jan 19, 2014, at 6:03 PM, Larry Martell wrote:
> On Sun, Jan 19, 2014 at 4:41 PM, MiB wrote:
>>
>> jan 19 2014 21:38 Larry Martell :
>>
>>> In my example, in the first option, I would need 12S left justified
>>> and by_target right justified.
>>
>>
>> You’re very likely to need a javascr
On Sun, Jan 19, 2014 at 4:41 PM, MiB wrote:
>
> jan 19 2014 21:38 Larry Martell :
>
>> In my example, in the first option, I would need 12S left justified
>> and by_target right justified.
>
>
> You’re very likely to need a javascript solution, I think. There is one
> discussion concerning this p
jan 19 2014 21:38 Larry Martell :
> In my example, in the first option, I would need 12S left justified
> and by_target right justified.
You’re very likely to need a javascript solution, I think. There is one
discussion concerning this problem here:
http://stackoverflow.com/questions/4497688/
19 jan 2014 kl. 21:47 skrev Philip Taylor :
> first-word
is not a functional nor valid css pseudo element, is it? So…?
__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FA
On Sun, Jan 19, 2014 at 2:44 PM, John D wrote:
> I don't know if this is going to work but worth a try and adapt it for your
> situation:
>
> First the HTML:
>
> Left id="first-word-right">Right
>
> Now the CSS:
>
> #first-word-left {
> float: left;
> }
> #first-word-right {
> float: right
John D wrote:
> I don't know if this is going to work but worth a try and adapt it for
> your situation:
>
> First the HTML:
>
> Left id="first-word-right">Right
John, Larry does not have access to the HTML, only
to the CSS ...
Philip Taylor
__
I don't know if this is going to work but worth a try and adapt it for your
situation:
First the HTML:
LeftRight
Now the CSS:
#first-word-left {
float: left;
}
#first-word-right {
float: right;
}
Of course, Id can be replaced by a class if you have many left and right items.
> I a
Larry Martell wrote:
> I appreciate your efforts. Is there any way I can use the text of each
> option? I know the set of values that I want to be right aligned will
> be one of (by_target, by_tool, by_recipe, by_ppl) and if it's not one
> of those I want it left aligned.
Can't think how that m
On Sun, Jan 19, 2014 at 1:53 PM, Philip Taylor wrote:
>
>
> Philip Taylor wrote:
>
>>
>> #query option {text-align: right; width: some fixed width [2]}
>> #query option::first-word {text-align: left} or
>> #query option::first-word {float: left}
>>
>
> Nope, won't work. There
2014-01-19 22:47, Philip Taylor wrote:
Larry Martell wrote :
In my example, in the first option, I would need 12S left justified
and by_target right justified.
Ah, more complex, and somewhat harder (perhaps impossible); in the
absence of any distinguishing markup around "12S" and "by_target"
Philip Taylor wrote:
>
> #query option {text-align: right; width: some fixed width [2]}
> #query option::first-word {text-align: left} or
> #query option::first-word {float: left}
>
Nope, won't work. There is, as yet, no "::first-word" selector.
I give up.
Philip Taylor
__
Philip Taylor wrote:
> In that case, can you not style individual options via their "value"
> attributes [1] ?
>
> For example :
>
>
> #query option {width: some fixed width [2]}
> #query option[value="12S"] {text-align: left}
> #query option[value="13S"] {text-align: right}
On Sun, Jan 19, 2014 at 1:22 PM, Philip Taylor wrote:
>
>
> Larry Martell wrote:
>
>> > autocomplete="off" class="">
>> Group
>>
>>
>> 12S by_target
>> 13S by_target
>> [...]
>> PPL1 by_ppl
>> PPL2 by_ppl
>
> In that case, can you not style individual options via their "value"
> attributes [1] ?
Larry Martell wrote:
> autocomplete="off" class="">
> Group
>
>
> 12S by_target
> 13S by_target
> [...]
> PPL1 by_ppl
> PPL2 by_ppl
In that case, can you not style individual options via their "value"
attributes [1] ?
For example :
#query option {width: some fixed width [2]}
On Sun, Jan 19, 2014 at 12:48 PM, Philip Taylor wrote:
> I think we need to /see/ the "select list" (i.e., the
> raw HTML emitted by whatever it is over which you have
> no control) in order to be able to offer suggestions ...
Group
12S by_target
13S by_target
22SOI by_target
TEST by_target
TE
I have the need to align one word left and another word right in a
select list. If had direct control over the HTML I could do this:
LEFTRIGHT'
But the select list is being generated by something I have no control
over. My only way of styling this is by accessing the selector:
#query select[name
16 matches
Mail list logo