Is there a way to adjust the padding of a submit button value?
I have tried using text-align: right;
, which works fine for aligning the text to the right. However, when I attempt to use padding-left: 25px;
, the text remains centered instead of moving to the right by 25px. I have searched extensively for solutions related to centering text but have found nothing specifically addressing adding padding to it.
Here is an example of CSS code I am using:
.sign {width: 262px;height: 102px;float: right;background: url("../images/sign.png") no-repeat scroll 0 0 transparent;margin: 25px 0px 0px 0px;border: none;display: block;}
.sign:hover {background: url("../images/signhover.png");border: none;}
What adjustments should be made in the above code to only change the position of my submit button value?