seaten Posted March 23, 2006 Share Posted March 23, 2006 I want the user to pick a font type, at the moment I have it in check boxes but I prefer to have it in a drop down list. But the key is to have each font option displayed in their own style. Any Ideas ? here is my current code: <b>Choose a Font Style for your Text:</b> <font face= arial>Arial</font> <input name="fontType" type="checkbox" id="sel_templateA" value="arial"> <font face="Bookman Old Style">Bookman Old Style </font> <input name="fontType" type="checkbox" id="sel_templateA" value="Bookman Old Style"> <font face="Comic Sans MS">Comic Sans </font> <input name="fontType" type="checkbox" id="sel_templateA" value="Comic Sans MS"> <font face="Courier">Courier </font> <input name="fontType" type="checkbox" id="sel_templateA" value="Courier"> Quote Link to comment https://forums.phpfreaks.com/topic/5621-pick-font-type-in-drop-down-list/ Share on other sites More sharing options...
redbullmarky Posted March 23, 2006 Share Posted March 23, 2006 i think i understand what you're after, but two things spring to mind:a) this belongs in the HTML/CSS forum, as there's no sign of, or no apparent need for, any PHPb) i'm not sure how different browsers fare with this one, but i don't actually think it's possible to do what youre after (ie, display each list box option in their own font). alternatives? have a 'preview' next to the list box, or stick with your first method. Quote Link to comment https://forums.phpfreaks.com/topic/5621-pick-font-type-in-drop-down-list/#findComment-20091 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.