Results 1 to 3 of 3
Aug 30, 2004, 12:58 #1
valigning text within a submit button?
I'm trying to get setup some CSS classes to get my submit buttons looking identical to my menu links. I've been able to get the borders, background colors, mouseovers, etc all working perfectly, but for some reason, the text in the submit buttons is not vertically centered. I've tried (valign="center") within the div class my button is in, but i suppose that just vertically centers the entire button.
Here is my CSS class for .submit
cursor: pointer; cursor: hand; text-decoration:none; font-size: 11px; font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif; color:#000000; background:#8CA2D6; border-style:solid; border-color: #181C18; border-width:2px; width: 150px; height: 20px; padding-top: none; padding-bottom: none
Here is an image comparing my menu links (left) to the submit buttons (right).