Hallo Ruebe, welche HTML-Tags formatierst Du mit .formbackground?
Probiers mal so:
<head>
<title>Graue Formularfelder</title>
<style type="text/css">
<!--
input, textarea, select {
background-color : #b5bec1;
border-color: #003246;
border-style: solid;
font-size: 12px;
font-family: Tahoma, Verdana, Helvetica, Arial;
}
-->
</style>
</head>
<body>
<form action="bla.cgi" method="post">
<select>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select><br>
<input type="text" name="otto"><br>
<textarea name="hugo" rows="5" cols="10"></TEXTAREA><br>
<input type="reset"><input type="submit">
</form>
</body>
</html>
Das Beispiel funktioniert in Netscape 4.7 (Anzeige ohne Farbe und Rand), IE4, IE5 und Mozilla.
[ Diese Nachricht wurde geändert von: SabineP am 2002-06-17 07:47 ]