Phil: button mit CSS verändern

Beitrag lesen

Hi,

Hi!

<style type="text/css">

button
 {
  background-color: #00FFFF;
  border-color: transparent;
  border-style: none;
  border-width: 0px;
  color: #ff0000;
  font-family: verdana, arial;
  font-size: 10px;
  height: 25px;
  margin-right: 2px;
  width: 120px;
 }

</style>
<input class=button type="button" value="Grundbild"onClick="parent.frames[1].location.href='grundbild.html'">

Eine Klasse wird in CSS mit einem Punkt davor definiert, also heisst es im <style>-Element .button {..., nicht button{...

CU
http://www.yubb.de