CSS – Button Border – Farbe ändern
In diesem Beispiel gibts den Code der die Seiten eines Button farblich verändern.
Code:
<html> <head> <style type="text/css"> input.button4 { border-top-width: thin; border-right-width: thin; border-bottom-width: thin; border-left-width: thin; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #FF0000; border-right-color: #0066CC; border-bottom-color: #339966; border-left-color: #FFCC00; } </style> </head> <body> <input type="submit" name="Button4" value="Farbiger Button"> </body> </html>