Use CSS to implement table background color gradient effect

Source: Internet
Author: User
Tags filter implement net domain name
css| Gradient

How to use CSS to achieve the gradient effect of the table background color, please see the following example:

<style>td{text-align:center;color:white;font-family: song body; font-size:14px;} Table{table-layout:fixed;border:1 Dashed Blue;width:567;height:234;filter:progid:d XImageTransform.Microsoft.gradient (startcolorstr= #FFFF00000, endcolorstr= #FFFFFF00, gradienttype=0);} Body{filter:progid:dximagetransform.microsoft.gradient (startcolorstr= #FF00119d, endcolorstr= #FF000000, gradienttype=1);} </style><center><table border= "0" cellspacing= "cellpadding=" 2 "><tr><td style=" Filter:progid:DXImageTransform.Microsoft.gradient (startcolorstr= #FFFF00000, endcolorstr= #FFFFFF00, gradienttype= 1 "> Web Teaching Network </td><td style=" Filter:progid:DXImageTransform.Microsoft.gradient (startcolorstr= #FF00119f, Endcolorstr= #FF09FFFF, gradienttype=1) "> Web Teaching Network provides a full set of services for the establishment of a unit or individual station, including the Construction Station Guide (construction station flow, website model, website type, host and domain name, etc.), Web site production (Web tools, Markup Language, Web site Promotion (Web page optimization, standards, search engine research, website promotion, etc.), as well as new network technologies and models (WEB2.0,AJAX, vertical search engines, etc.) &LT;/TD&GT;&LT;/TR&GT;&LT;TR&GT;&LT;TD Style= "Filter:progid:DXImageTransform.Microsoft.gradient (startcolorstr= #FFFFee00,endcolorstr= #FF09FF00, gradienttype=1) "> Lightning </td><td style=" filter:progid:d XImageTransform.Microsoft.gradient (startcolorstr=deeppink,endcolorstr= #FF09FF00, gradienttype=1) "><B> <font color= "#22FF22" > Net </font><font color= "#FF2222" > Page </font><font color= "#001199" > Teaching </font><font color= "#00fffa" > Learning </font><font color= "#0000FF" > Net </font></b></ Td></tr></table>

[Ctrl + A ALL SELECT hint: You can modify some of the code, and then run]

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.