Bonjour,
je souhaiterais faire une liste de deroulante de choix de police donc styler chaque option par la police qui va bien mais ca ne marche pas :
CSS :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 <form> <select> <option style="font-family:AaarghNormal;">Hello</option> <option style="font-family:ArualLight;">Bye1</option> <option style="font-family:Arial, Helvetica, sans-serif">Arial</option> <option style="font-family:Verdana, Arial, Helvetica, sans-serif">Verdana</option> </select> </form>
une solution a me proposer ? merci d'avance
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 @font-face { font-family: 'AaarghNormal'; src: url('http://www.url/fonts/aaargh-webfont.eot'); src: url('http://www.url/fonts/aaargh-webfont.eot?iefix') format('eot'), url('http://www.url/fonts/aaargh-webfont.woff') format('woff'), url('http://www.url/fonts/aaargh-webfont.ttf') format('truetype'), url('http://www.url/fonts/aaargh-webfont.svg#webfontvCB2QKq2') format('svg'); font-weight: normal; font-style: normal; }
Partager