![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a request for a drop-down mixing font style. Basically, each option item has to be in normal style, up to the middle where the style needs to be italic. For instance (in old school HTML): Choice 1 - <i>legend 1</i Choice 2 - <i>legend 2</i Etc... I believe this is something I can do with style sheets. The platform is in VC# dot net (FW 3.5), by the way, but I can probably get around that. Thanks! |
#3
| |||
| |||
|
|
In article 707bba3d-2555-4f69-bf3e-07c867e4647d...oglegroups.com>, Nicolas Verhaeghe <nicver (AT) yahoo (DOT) com> wrote: I have a request for a drop-down mixing font style. Basically, each option item has to be in normal style, up to the middle where the style needs to be italic. For instance (in old school HTML): Choice 1 - <i>legend 1</i Choice 2 - <i>legend 2</i Etc... I believe this is something I can do with style sheets. The platform is in VC# dot net (FW 3.5), by the way, but I can probably get around that. Thanks! Without knowing what handles you might have to do otherwise, how about: ul><li>item 1 ul li>sub item 1</li li>sub item 2</li li>sub item 3</li li class="halfwayAndMoreDown">sub item 4</li li class="halfwayAndMoreDown">sub item 5</li li class="halfwayAndMoreDown">sub item 6</li li class="halfwayAndMoreDown">sub item 7</li li class="halfwayAndMoreDown">sub item 8</li /ul></li /ul with a style of: .halfwayAndMoreDown {font-style: italic} |
#4
| |||
| |||
|
|
In article <doraymeRidThis-929BE1.13294722062... (AT) news (DOT) albasani.net>, *dorayme <doraymeRidT... (AT) optusnet (DOT) com.au> wrote: In article 707bba3d-2555-4f69-bf3e-07c867e46... (AT) f30g2000vbf (DOT) googlegroups.com>, *Nicolas Verhaeghe <nic... (AT) yahoo (DOT) com> wrote: I have a request for a drop-down mixing font style. Basically, each option item has to be in normal style, up to the middle where the style needs to be italic. For instance (in old school HTML): Choice 1 - <i>legend 1</i Choice 2 - <i>legend 2</i Etc... I believe this is something I can do with style sheets. The platform is in VC# dot net (FW 3.5), by the way, but I can probably get around that. Thanks! Without knowing what handles you might have to do otherwise, how about: ul><li>item 1 ul *<li>sub item 1</li *<li>sub item 2</li *<li>sub item 3</li *<li class="halfwayAndMoreDown">sub item 4</li *<li class="halfwayAndMoreDown">sub item 5</li *<li class="halfwayAndMoreDown">sub item 6</li *<li class="halfwayAndMoreDown">sub item 7</li *<li class="halfwayAndMoreDown">sub item 8</li /ul></li *</ul with a style of: .halfwayAndMoreDown {font-style: italic} Oops, seems I can't type or count. Funny that because I am usually very very good up to 8. Better than a crow I think. ul><li>item 1 ul li>sub item 1</li li>sub item 2</li li>sub item 3</li li>sub item 4</li li class="halfwayAndMoreDown">sub item 5</li li class="halfwayAndMoreDown">sub item 6</li li class="halfwayAndMoreDown">sub item 7</li li class="halfwayAndMoreDown">sub item 8</li /ul></li /ul with a style of: .halfwayAndMoreDown {font-style: italic} -- dorayme |
#5
| |||
| |||
|
|
On Jun 21, 8:33 pm, dorayme <doraymeRidT... (AT) optusnet (DOT) com.au> wrote: In article <doraymeRidThis-929BE1.13294722062... (AT) news (DOT) albasani.net>, dorayme <doraymeRidT... (AT) optusnet (DOT) com.au> wrote: In article 707bba3d-2555-4f69-bf3e-07c867e46... (AT) f30g2000vbf (DOT) googlegroups.com>, Nicolas Verhaeghe <nic... (AT) yahoo (DOT) com> wrote: I have a request for a drop-down mixing font style. Basically, each option item has to be in normal style, up to the middle where the style needs to be italic. For instance (in old school HTML): Choice 1 - <i>legend 1</i Choice 2 - <i>legend 2</i Etc... I believe this is something I can do with style sheets. The platform is in VC# dot net (FW 3.5), by the way, but I can probably get around that. Thanks! Without knowing what handles you might have to do otherwise, how about: ul><li>item 1 ul li>sub item 1</li li>sub item 2</li li>sub item 3</li li class="halfwayAndMoreDown">sub item 4</li li class="halfwayAndMoreDown">sub item 5</li li class="halfwayAndMoreDown">sub item 6</li li class="halfwayAndMoreDown">sub item 7</li li class="halfwayAndMoreDown">sub item 8</li /ul></li /ul with a style of: .halfwayAndMoreDown {font-style: italic} Oops, seems I can't type or count. Funny that because I am usually very very good up to 8. Better than a crow I think. ul><li>item 1 ul li>sub item 1</li li>sub item 2</li li>sub item 3</li li>sub item 4</li li class="halfwayAndMoreDown">sub item 5</li li class="halfwayAndMoreDown">sub item 6</li li class="halfwayAndMoreDown">sub item 7</li li class="halfwayAndMoreDown">sub item 8</li /ul></li /ul with a style of: .halfwayAndMoreDown {font-style: italic} -- dorayme Well, thanks, but what you are showing me is not a drop down, but a list. |
|
A drop down goes like this: select option value="1">Choice 1 - Legend 1 option value="2">Choice 2 - Legend 2 /select The idea here is to show "Choice n - " as normal, and "Legend n" as italic. Thanks! |
#6
| ||||
| ||||
|
|
I have a request for a drop-down mixing font style. |
|
Basically, each option item has to be in normal style, up to the middle where the style needs to be italic. |
|
For instance (in old school HTML): Choice 1 - <i>legend 1</i Choice 2 - <i>legend 2</i Etc... |
|
I believe this is something I can do with style sheets. |
#7
| |||
| |||
|
|
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. |
#8
| |||
| |||
|
|
The optgroup element does appear in bold italic, so maybe that's what the OP _really_ wants. |
#9
| |||
| |||
|
|
Funnily enough, if you use optgroup, then IE won't let you turn _off_ the italics or the bolding using CSS. |
#10
| |||
| |||
|
|
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 Boswell at Home Arbpen Web Site Design Serviceshttp://www.cavalcade-of-coding.info Please respond to the group so others can share |
![]() |
| Thread Tools | |
| Display Modes | |
| |