HTML CSS examples for CSS Form:input button
Line-height with css input type button and a button bootstrap
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .btn {font:14px/20px 'Arial', sans-serif; border:1px solid #888; border-radius:4px; padding:3px 7px} .btn-RelateAndPublish {background-color:#07C; color:#FFF;} .btn-primary {<!-- w ww .ja v a2 s . co m--> height:28px; display:inline-block; } .btn-Close::-moz-focus-inner { padding: 0; border: 0 } </style> </head> <body> <button class="btn btn-Close" aria-hidden="true" data-dismiss="modal">Close</button> <input id="fancyPostConfirmRelate" class="btn btn-primary btn-RelateAndPublish" type="button" value="Relate and publish" name="yt27"> </body> </html>