Hi,
I want to format buttons and textfields with css.
I've done it the following way in a css-file:
..button {background-color:black;
color:white;
height:20px;}
and used it with class="button" in the input tag. It only worked in
Opera, but not in the IE, Firefox and Netscape. It worked in all
browsers as I wrote the style definition directly in the html tag:
<input style="backgrou nd-color:black;">. ..
Where is the problem? Why does it not work when I use the in an extern
css file.
Thanks
Mario
I want to format buttons and textfields with css.
I've done it the following way in a css-file:
..button {background-color:black;
color:white;
height:20px;}
and used it with class="button" in the input tag. It only worked in
Opera, but not in the IE, Firefox and Netscape. It worked in all
browsers as I wrote the style definition directly in the html tag:
<input style="backgrou nd-color:black;">. ..
Where is the problem? Why does it not work when I use the in an extern
css file.
Thanks
Mario
Comment