I have a submit button in an HTML document like this:
<form id = "submit" method="get" action="">
<input type="submit" name="action" value="Download" id="dlbutton"/>
</form>
I tried to put rounded corners on it using the border-radius property, but they still remain sharp:
#dlbutton{
background:#223445;
color:#FFFFFF ;
border: 1px solid #223445;
border-radius: 18px
-moz-border-radius: 5px
display:inline-block;
width: 20em;
height: 5em;
-webkit-font-smoothing: antialiased;
}
I have another button on another page that has the same style and has rounded corners, except for the html button:
<p><button class="clickable" id="clickable">Click me</button></p>
I am using the latest Firefox. Thanks
source
share