Ik wil dus een combobox maken waarin je de fontsize kunt selecteren met daarbij een voorbeeld.
Het voorbeeld hieronder werkt wel in FireFox maar helaas niet in IE
Iemand nog een andere oplossing?
De lettertypen kunnen het ook niet
Kleur dan wel weer
Tekstdecoratie ook weer niet
Misschien is dit topic nog handig als naslagwerk of voor de search
Het voorbeeld hieronder werkt wel in FireFox maar helaas niet in IE
Iemand nog een andere oplossing?
code:
1
2
3
4
5
6
| <select size="1" name="font-size"> <option style="font-size: 8pt">8pt</option> <option style="font-size: 10pt">10pt</option> <option style="font-size: 12pt">12pt</option> <option style="font-size: 14pt">14pt</option> </select> |
De lettertypen kunnen het ook niet
code:
1
2
3
4
5
| <select size="1" name="font-face"> <option style="font-family: Arial">Arial</option> <option style="font-family: Terminal">Terminal</option> <option style="font-family: Comic Sans MS">Comic Sans MS</option> </select> |
Kleur dan wel weer
code:
1
2
3
4
5
| <select size="1" name="color"> <option style="color: red">Rood</option> <option style="color: green">Groen</option> <option style="color: blue">Blauw</option> </select> |
Tekstdecoratie ook weer niet
code:
1
2
3
4
5
| <select size="1" name="text-decoration"> <option style="text-decoration: overline">Lijn boven</option> <option style="text-decoration: underline">Onderstrepen</option> <option style="text-decoration: line-through">Doorhalen</option> </select> |
Misschien is dit topic nog handig als naslagwerk of voor de search
[ Voor 76% gewijzigd door Pascal Saul op 12-07-2005 01:04 ]