DIV CSS 佈局教程網

 DIV+CSS佈局教程網 >> 網頁腳本 >> CSS入門知識 >> DIV十CSS布局 >> 布局實例 >> 用CSS實現表格背景顏色漸變效果
用CSS實現表格背景顏色漸變效果
編輯:布局實例     

 <html>

<head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>無標題文檔</title> <style> td{text-align:center;color:white;font-family:宋體;font-size:15px; font-weight:bold;border:2 dashed #FFFFFF;} table{table-layout:fixed;border:2 dashed blue;width:567;height:234;filter:progid:DXImageTransform.Microsoft.gradient (startcolorstr=#990099,endcolorstr=#FFCCFF,gradientType=1);} body{filter:progid:DXImageTransform.Microsoft.gradient(startcolorstr=#86CEFF,endcolorstr=#000099,gradientType=1);}   </style> </head> <body> <center> <table border="0" cellspacing="20" cellpadding="2"> <tr> <td style="filter:progid:DXImageTransform.Microsoft.gradient(startcolorstr=#FF0000,endcolorstr=#FFCC66,gradientType=1)"> 網頁陶吧-龍犢 </td> <td style="filter:progid:DXImageTransform.Microsoft.gradient(startcolorstr=#006600,endcolorstr=#99FF99,gradientType=0)"> 網頁陶吧</td> </tr> </table> <!-- gradientType=1代表橫向漸變,gradientType=0代表縱向淅變 漸變效果實現:filter:progid:DXImageTransform.Microsoft.gradient(startcolorstr=#FF0000,endcolorstr=#FFCC66,gradientType=1) --> <p><a href=http://homepage.yesky.com><font style="font-size:14px; font-weight:bold; color:#FFFFFF; text-decoration:none;">網頁陶吧-培養優秀的網頁設計師和個人站長</font></a></p> </body> </html>
XML學習教程| jQuery入門知識| AJAX入門| Dreamweaver教程| Fireworks入門知識| SEO技巧| SEO優化集錦|
Copyright © DIV+CSS佈局教程網 All Rights Reserved