Here is the HTML:
<input type="submit" name="submit" value="SHOUT" />
Here is the CSS:
input[type="submit"] {
height: 50px;
}
The problem is that it doesn't amend the size of the submit button. Could there be any reason for this?
Here is the HTML:
<input type="submit" name="submit" value="SHOUT" />
Here is the CSS:
input[type="submit"] {
height: 50px;
}
The problem is that it doesn't amend the size of the submit button. Could there be any reason for this?
The same code you provided seems to work fine. Did you add reference to css file properly?
input[type="submit"] {
height: 150px;
}
<input type="submit" name="submit" value="SHOUT" />
Some possible solutions:
height:50px !important;
min-height
value and/or a max-height
value to the same as the standard height. I can't give you more specific advice without a link or a fiddle to play with.