Ashura: input.submit usw bezieht sich nur auf einen submit-button?

Beitrag lesen

Hallo Richard.

Merk dir das mit dem <button> aber für die Zukunft. Da hat man dann vielfältige Möglichkeiten, z.B. Bilder auf Buttons usw.

Hat man doch auch jetzt schon?

<input type="button" value="Nicht klicken" />

input {  
  background:#fff url(foo.png) no-repeat center left;  
  padding-left:20px; /* Breite der Grafik */  
}

Einen schönen Samstag noch.

Gruß, Ashura

--
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“
[HTML Design Constraints: Logical Markup]