Hallo,
ich formatiere einen Submit-Button als normalen Link mittels CSS wie folgt:
Input-Button umformatiert in html:
<div class="button1"><input type="submit" name="del_attach1" value="Anhang1 löschen"></div>
Dazu gehöriger CSS-Code direkt im html-file:
[code lang=css
div.button1 {
height:18px; right no-repeat; width:auto; float:left;
}
div.button1 input {
height:18px; background: #ffffff; color:#000000;
text-decoration: underline; font-weight:bold; border:none;
overflow:visible; display:inline; margin:0px; padding:0px 4px 2px 4px;
font-size:9px; font-family:Verdana, Arial, Helvetica, sans-serif;
}
[/code]
Wenn ich nun den CSS-Code in ein externes file style.css bringe, funktioniert die Formatierung nicht mehr.
Kann mir hierbei jemand helfen.
Vielen Dank im Voraus!!
Gruß
Markus