![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
Jukka K. Korpela wrote: Funnily enough, if you use optgroup, then IE won't let you turn _off_ the italics or the bolding using CSS. IE, all flavors, is such a cantankerous inflexible creature and such a "delight" for web authors! |
#12
| |||||
| |||||
|
|
This drop down has about 70+ choices, so radio buttons would not work. |
|
And yes, 70+ is a lot, but this what the client wants. |
|
Each item in the drop down has to mix two font styles, on the same line, basically. |
|
I'll dig a bit into this for a while, but I already told the client this would be a bit more work, |
|
On Jun 22, 9:15 am, Adrienne Boswell <arb... (AT) yahoo (DOT) com> wrote: |
#13
| |||
| |||
|
|
On 2009-06-22, Jonathan N. Little <lws4art (AT) centralva (DOT) net> wrote: Jukka K. Korpela wrote: Funnily enough, if you use optgroup, then IE won't let you turn _off_ the italics or the bolding using CSS. IE, all flavors, is such a cantankerous inflexible creature and such a "delight" for web authors! To be fair to IE, you shouldn't expect to be able to style optgroup. It says in the CSS spec somewhere that any support you get in a browser for styling replaced UI thingies should be regarded as experimental. Here it is (in 3.2): CSS 2.1 does not define which properties apply to form controls and frames, or how CSS can be used to style them. User agents may apply CSS properties to these elements. Authors are recommended to treat such support as experimental. A future level of CSS may specify this further. |
#14
| |||
| |||
|
|
On Jun 21, 8:33Â*pm, dorayme <doraymeRidT... (AT) optusnet (DOT) com.au> wrote: In article <doraymeRidThis-929BE1.13294722062... (AT) news (DOT) albasani.net>, .... |
|
Well, thanks, but what you are showing me is not a drop down, but a list. |
#15
| ||||
| ||||
|
|
On Jun 22, 9:15*am, Adrienne Boswell <arb... (AT) yahoo (DOT) com> wrote: Gazing into my crystal ball I observed "Jukka K. Korpela" jkorp... (AT) cs (DOT) tut.fi> writing innews:JUN%l.16028$vi5.8198 (AT) uutiset (DOT) elisa.fi : I have a request for a drop-down mixing font style. Drop-downs are rather often an inferior way of setting up a menu of choices, as compared with radio buttons (or checkboxes). Basically, each option item has to be in normal style, up to the middle where the style needs to be italic. I wonder if the OP is looking for OptGroup, eg: select name="something" option value="">Pick Somthing</option optgroup label="First Choices" option value="a">a</option option value="b">b</option /optgroup optgroup label="Second Choices" option value="c">c</option option value="d">d</option /optgroup /select The optgroup element does appear in bold italic, so maybe that's what the OP _really_ wants. Adrienne, no in this case it is nothing about optgroup. Also using a line item is not what my client requires in this case. The drop down is also populated in code behind from a data source, and this is relatively rigid at this point. There is also a need for consistency with the other drop downs. |
|
This drop down has about 70+ choices, so radio buttons would not work. And yes, 70+ is a lot, but this what the client wants. |
|
I could code my own web control to accommodate this request if I find the best option for this. Each item in the drop down has to mix two font styles, on the same line, basically. |
|
I'll dig a bit into this for a while, but I already told the client this would be a bit more work, meaning a bit more money to spend, so I expect them to drop the ball on this diva request. Thanks for the help |
#16
| |||
| |||
|
|
Jukka K. Korpela wrote: Funnily enough, if you use optgroup, then IE won't let you turn _off_ the italics or the bolding using CSS. IE, all flavors, is such a cantankerous inflexible creature and such a "delight" for web authors! |
![]() |
| Thread Tools | |
| Display Modes | |
| |