Hi I don’t want an image for my submit button so I have gone with the default submit button but I want to edit its width and height. How do I do that?
<input type="submit" id="search" value="Search" />
Thanks!
James
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Using CSS you can set a style for that specific button using the id (#) selector:
or if you want all submit buttons to be a particular size:
or if you want certain classes of button to be a particular style you can use CSS classes:
and
I use ems as the measurement unit because they tend to scale better.