View Full Version : using html in your drop down menu
tish tash
22-May-2006, 02:37 PM
is it possible to use html in a drop down menu to make the font bold, underlined or a different colour?
Which part of the choice/ component would I place the html codes? I've had a play around but nothing has been succesful!
ill be v. grateful if anyone knows!
tash
tish tash
22-May-2006, 03:01 PM
I've searched the term drop down menu, and I think i may have been misunderstood.....
I mean the drop down selection boxes, as can be seen on this page
http://www.londongraphics.co.uk/acatalog/Online_Catalogue_Galeria_Acryliic_Colour__140.html
any ideas?
Duncan Rounding
22-May-2006, 03:26 PM
Norman has a patch related to this:
http://www.drillpine.biz/actinicstuff/index.html
See - Displaying Colours in Choice Drop-Downs
pinbrook
22-May-2006, 04:07 PM
You can use css to alter the text inside a drop down menu
for example in my own actinic.css file I have
input,textarea,select
{
font-family: Verdana, Arial, "MS Sans Serif";
font-size: 11px;
}
tish tash
22-May-2006, 04:34 PM
I just wanted to say make the price £5.99 appear in red, not the actual box...
which ever wa its done, do I have to create a template?
Duncan Rounding
22-May-2006, 05:06 PM
I understand what you mean. You want part of the displayed text in the dropdown to be in a colour like this:
Widgets £5.99
Unfortunately although I understand what you mean but sorry, I don't have a solution - I tried to do it myself just now without any luck also.
Edit: You can however do something towards that if you select Radio Buttons instead of Dropdown. You can add some User Defined HTML which will then show after the selection itself. Have a fiddle around with that - it may help.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.