How to apply CSS to buttons? -
i want apply css buttons not referencing buttons id in css stylesheet. how proceed?
<button id="buttonedit">save</button>
i try:
input[type=button] { fonr-size: 80%; }
but doesn't work.
thank you.
do have styles associated buttonedit id in css?
i've copied in button "try yourself" area on w3schools, , added own style in header
button { font-size: 80%; }
as else has posted, , worked. did before test see button, added style & refreshed. button text got smaller.
if there no styles associated buttonedit messing things up, i'd triple check didn't accidentally forget colon after font-size.
Comments
Post a Comment