效果預覽:http:///keleyi/phtml/divcss/7.htm
html完整代碼:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>多個漂亮的按鈕樣式和圖片集合 -</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="http:///keleyi/phtml/divcss/7/button.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div style="width:800px;margin:0px auto">
<span style="font-size:18px; font-weight:bold; text-align:center; line-height:25px; color:#000; width:100%">漂亮的按鈕樣式和圖片集合<br />
<a href="http://" target="_blank" style="color:#000"></a>網站出品(<a href="http://" style="color:#000" target="_blank">http://</a>)<br />
<br />
</span><a href="http:///a/bjac/sfvge398.htm">原文</a>
</div>
<form id="form-keleyi-com" name="form-keleyi-com" action="http:///" target="_blank">
<div class="d1">
<input type="submit" value="Update" onmouseover="this.style.borderColor='#75cd02'" onmouseout="this.style.borderColor='#dcdcdc'" class="btn1 pbtn1" />
<input type="submit" value="Delete" onmouseover="this.style.borderColor='#f76b00'" onmouseout="this.style.borderColor='#dcdcdc'" class="btn2 pbtn1" />
<input type="submit" value="Reset" onmouseover="this.style.borderColor='#86c6f7'" onmouseout="this.style.borderColor='#dcdcdc'" class="btn3 pbtn1" /><br />
<input type="button" value="Submit" class="btn4" />
<input type="button" value="Button" class="btn5" />
<input type="button" value="Add Group" class="btn6" onmouseover="this.style.backgroundPosition='left -35px'" onmouseout="this.style.backgroundPosition='left top'" /><br />
<button type="button" class="pbtn2"><img src="http:///keleyi/phtml/divcss/7/image/button/register.gif" alt="register" /></button>
<button type="button" class="pbtn2 btn8"><img src="http:///keleyi/phtml/divcss/7/image/button/favorite.gif" alt="favorite" /></button>
<button type="button" class="pbtn2 btn9"><img src="http:///keleyi/phtml/divcss/7/image/button/help.gif" alt="help" /></button><br />
<input type="button" class="btn10" onmouseover="this.style.backgroundPosition='left -40px'" onmouseout="this.style.backgroundPosition='left top'" value="Submit" />
<input type="button" class="btn11" onmouseover="this.style.backgroundPosition='left -40px'" onmouseout="this.style.backgroundPosition='left top'" value="Sbumit" />
<input type="button" class="btn12" onmouseover="this.style.backgroundPosition='left -40px'" onmouseout="this.style.backgroundPosition='left top'" value="Sbumit" /><br />
<button type="button" class="pbtn3"></button>
<button type="button" class="pbtn3 btn14"></button>
<button type="button" class="pbtn3 btn15"></button><br />
<button type="button" class="btn16"></button>
<button type="button" class="btn17"></button>
<button type="button" class="btn18"></button><br />
<button type="button" class="btn19" onmouseover="this.style.backgroundPosition='left -36px'" onmouseout="this.style.backgroundPosition='left top'" value="Sbumit"></button>
<button type="submit" class="btn20" onmouseover="this.style.backgroundPosition='left -37px'" onmouseout="this.style.backgroundPosition='left top'" value="Sbumit"></button>
<button type="submit" class="btn21" onmouseover="this.style.backgroundPosition='left -40px'" onmouseout="this.style.backgroundPosition='left top'" value="Sbumit"></button><br />
<input type="button" class="btn22" value="Downloads!" onmouseover="this.style.backgroundPosition='left -42px'" onmouseout="this.style.backgroundPosition='left top'" />
<input type="button" class="btn23" value="Call me !!" onmouseover="this.style.backgroundPosition='left -45px'" onmouseout="this.style.backgroundPosition='left top'" />
</div>
<div class="d2">
<input type="button" class="btn24" value="Closed" onmouseover="this.style.backgroundPosition='left -50px'" onmouseout="this.style.backgroundPosition='left top'" />
<input type="button" class="btn25" value="Submit" onmouseover="this.style.backgroundPosition='left -49px'" onmouseout="this.style.backgroundPosition='left top'" /><br />
<input type="button" class="btn26" value="Submit" onmouseover="this.style.backgroundPosition='left -36px'" onmouseout="this.style.backgroundPosition='left top'" />
<input type="button" class="btn27" value="Online" />
<input type="button" class="btn28" value="Rss Feed" /><br />
<input type="button" class="btn29" value="Submit" onmouseover="this.style.backgroundPosition='left -43px'" onmouseout="this.style.backgroundPosition='left top'" />
<input type="button" class="btn30" value="Button" />
<input type="button" class="btn31" value="Search" /><br />
<input type="button" class="btn32" value="Search" />
<input type="button" class="btn33" value="Search" onmouseover="this.style.backgroundPosition='left -49px'" onmouseout="this.style.backgroundPosition='left top'" /><br />
<input type="button" class="btn34" value="Button" />
<input type="button" class="btn35" value="Button" onmouseover="this.style.backgroundPosition='left -40px'" onmouseout="this.style.backgroundPosition='left top'" />
<input type="button" class="btn36" value="Button" onmouseover="this.style.backgroundPosition='left -38px'" onmouseout="this.style.backgroundPosition='left top'" />
</div>
<div class="d3">
<input type="button" class="btn37" value="Hard rock" />
<input type="button" class="btn38" value="Your profile" />
<input type="button" class="btn39" value="British" /><br />
<input type="button" class="btn40" value="Development" />
<input type="button" class="btn41" onmouseover="this.style.backgroundPosition='left -57px'" onmouseout="this.style.backgroundPosition='left top'" /><br />
<input type="button" class="btn42" value="Find out more" />
<input type="button" class="btn43" value="Enterprise Geteway" /><br />
<input type="button" class="btn44" value="Comments" />
<input type="submit" class="btn45" value="Submit" onmouseover="this.style.backgroundPosition='left -75px';this.style.color='#bcf1a7';" onmouseout="this.style.backgroundPosition='left top';this.style.color='#ffafaf';" />
<input type="button" class="btn46" value="Submit" onmouseover="this.style.backgroundPosition='left -73px'" onmouseout="this.style.backgroundPosition='left top'" /><br />
<input type="submit" class="btn47" value="New user interface" onmouseover="this.style.backgroundPosition='left -78px';this.style.color='#a15507';" onmouseout="this.style.backgroundPosition='left top';this.style.color='#097b96';" />
<input type="button" class="btn48" value="Send Comments" onmouseover="this.style.backgroundPosition='left -67px';this.style.color='#d7bff2';" onmouseout="this.style.backgroundPosition='left top';this.style.color='#8bf8ff';" /><br />
<input type="button" class="btn49" />
<input type="button" class="btn50" />
</div>
</form>
</body>
</html>