drop down list, bold some items |
![]() ![]() |
drop down list, bold some items |
Oct 21 2008, 11:47 PM
Post
#1
|
|
|
Member ![]() ![]() Group: Member Posts: 15 Joined: Oct 2008 Member No: 691,433 |
if i have a drop down list on myspace how do i bold certain
CODE <option> ?this: CODE <b>blah blah blah</b> does not work. i don't want everything to be bold.. just certain things. any help? :) |
|
|
|
Oct 21 2008, 11:49 PM
Post
#2
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrator Posts: 8,629 Joined: Jan 2007 Member No: 498,468 |
To bold stuff, simply use the following code:
CODE <b>TEXT</b>
|
|
|
|
Oct 21 2008, 11:50 PM
Post
#3
|
|
|
Member ![]() ![]() Group: Member Posts: 15 Joined: Oct 2008 Member No: 691,433 |
that does not work for a drop down box,
i have tried it.. |
|
|
|
Oct 21 2008, 11:55 PM
Post
#4
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrator Posts: 8,629 Joined: Jan 2007 Member No: 498,468 |
Hmm I seemed to have posted after your edit. Sorry.
I found this website although for some reason it isn't loading for me. Tell me if it helps :) http://www.webproworld.com/web-programming...-menu-form.html |
|
|
|
Oct 22 2008, 12:13 AM
Post
#5
|
|
|
Member ![]() ![]() Group: Member Posts: 15 Joined: Oct 2008 Member No: 691,433 |
it won't load.
i googled it earlier and that site was a result but it's dead.. |
|
|
|
Oct 22 2008, 04:08 PM
Post
#6
|
|
|
Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 |
It works for me so I'll just share what I read. You need to create a class with a bold weighting. Use this:
CODE <style> .bold {font-weight:bold;} </style> Then, use that class with the <option> tag on your dropdown code like so: CODE <option class="bold">Whatever.</option>
|
|
|
|
Oct 22 2008, 05:03 PM
Post
#7
|
|
![]() Better than Firefly; aQuafly ![]() ![]() ![]() Group: Official Designer Posts: 75 Joined: Oct 2008 Member No: 689,363 |
maybe you have some coding that makes the options only have normal font-weight. Could you post your coding please?
|
|
|
|
Oct 22 2008, 09:05 PM
Post
#8
|
|
![]() Better than Firefly; aQuafly ![]() ![]() ![]() Group: Official Designer Posts: 75 Joined: Oct 2008 Member No: 689,363 |
true, but sometimes people put their favourite music, books or movies in dropdowns so maybe there could be a customization?
I didn't know about the <b> not working in dropdowns. I don't usually use them. |
|
|
|
Oct 23 2008, 07:00 PM
Post
#9
|
|
![]() Better than Firefly; aQuafly ![]() ![]() ![]() Group: Official Designer Posts: 75 Joined: Oct 2008 Member No: 689,363 |
I know.... I'm slow, lol. I'm trying to think of a way to make it work >>
|
|
|
|
Oct 24 2008, 05:11 AM
Post
#10
|
|
|
Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 |
Like I said, this works for me:
CODE <style> .bold {font-weight:bold;} </style> CODE <option class="bold">Whatever.</option>
|
|
|
|
Oct 24 2008, 09:52 PM
Post
#11
|
|
![]() Better than Firefly; aQuafly ![]() ![]() ![]() Group: Official Designer Posts: 75 Joined: Oct 2008 Member No: 689,363 |
^ well, that works for me too.
|
|
|
|
![]() ![]() |