i'm getting quite frustrated with this problem. please help. i have :
HTML Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <style> button { width:auto; overflow:visible; border:0; cursor:pointer; font-weight:bold; padding:0 5px 0 0; text-align:center; height:23px; } button span { padding:0 23px 0 0; margin:0; } /*blue buttons*/ button.submitBtn { background:url(button_orange.gif) top right no-repeat; font-size:11px; } button.submitBtn span { background:url(button_orange.gif) top left no-repeat; color:#fff; display:block; padding-left:23px; line-height:23px; } button.submitBtn:hover { background:url(button_orange.gif) bottom right no-repeat; } button.submitBtn:hover span { background:url(button_orange.gif) bottom left no-repeat; } button:focus::-moz-focus-inner { border-color: transparent ! important; } </style> </head> <body> <button value="submit" class="submitBtn"><span>Submit</span></button> </body> </html>
the problem is that on firefox the span is 1 px down so the images dont quite align. thanks for taking time in my problem . i've attached the image i'm using...


Reply With Quote
Bookmarks