Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
<style type="text/css">
<!--
.bold { font-weight: bold; }
-->
</style>
<select style="background-color:#dddddd" size="2">
<obtion class="bold">text</obtion> // GEHT NICHT
<obtion>Text</obtion>
</select>
Nabi hat gesagt.:bei mir ist schon richtig "option" geschrieben, trotzdem geht nicht.
<select style="background-color:#dddddd; font-weight:bold;" size="2">
<option>text</option>
<option>text</option>
</select>
Im IE ist das richtig, der macht das nicht (jedenfalls nicht den Schriftschnitt, die Farbe allerdings schon). Firefox et. al. wendet die Direktformatierung des Option-Elementes aber richtig an.michaelsinterface hat gesagt.:Die Schriftformatierung innerhalb der Auswahlliste lässt sich nur auf das übergeordnete select-Element anwenden:
<select size="2">
<option style="background-color:#dddddd; font-weight:bold;" >text</option>
<option>text</option>
</select>