/    Sign up×
Community /Pin to ProfileBookmark

select option font

is it possible to set each option in a select form to have a different font then the other?
like in this board when you press “Fonts” each option has a different font
tnx?

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@aj_nscApr 25.2007 — Here's an example with inline styles:

[code=html]
<select>
<option value="times" style="font-family: times;">Times</option>
<option value="arial" style="font-family: arial;">Arial</option>
<option value="garamond" style="font-family: garamond;">Garamond</option>
</select>
[/code]
Copy linkTweet thisAlerts:
@shaullxauthorApr 26.2007 — Here's an example with inline styles:

[code=html]
<select>
<option value="times" style="font-family: times;">Times</option>
<option value="arial" style="font-family: arial;">Arial</option>
<option value="garamond" style="font-family: garamond;">Garamond</option>
</select>
[/code]
[/QUOTE]

works for ff but not IE

i tried it lot's of times

is there anything that will work for IE?

like the js font option select of vBulletin
Copy linkTweet thisAlerts:
@ray326Apr 26.2007 — I haven't looked at 7 but its ancestors are very limited as to what styles work on options.
×

Success!

Help @shaullx spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...