|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
It is, using CSS. Put the following in your style sheet:
Code:
.special {
font-weight: bold;
}
Code:
<option class="special">Special Sale</option>
__________________
Toronto Web Design | Search Engine Friendly, Standards-Compliant Layouts | Walk on my Path (my blog) |
|
||||
|
Well I'll be damned. I just assumed it would work since foreground/background colours do. Evidently, they never included that an option.
But I did come up with an alternative that may work for you: http://www.adamwebdesign.ca/demos/option_css.html It's not bold per se, but at least it stands out. (Adjust the colours accordingly.)
__________________
Toronto Web Design | Search Engine Friendly, Standards-Compliant Layouts | Walk on my Path (my blog) |
|
||||
|
There's a promising looking tutorial here "Styling Dropdown Lists"
See the second example on the page. Hope that helps! Paul |
|
||||
|
heh :) Hey Paul, did you look at the result dropdown for that tut vs. the one in my demo? They look kind of similar. :)
The tut's probably the better link though. It explains things in a little more detail. FYI to Bohak: the tut won't tell you this, and I didn't per se in my demo, but you can't control font styles within option tags; you can only do so within the select tag itself (this is something I figured out by trying all the ones I knew about.) The only thing you can do is control the background/foreground effects.
__________________
Toronto Web Design | Search Engine Friendly, Standards-Compliant Layouts | Walk on my Path (my blog) |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |