Using CSS to implement a linked dashed underline effect _css/html

Source: Internet
Author: User
Modify your style sheet to find the bottom section (usually at the beginning)
A
Color: #3399FF;
Font-weight:normal; /* Font effect normal can be changed to bold rough body * *
Text-decoration:none; /* Underline effect: no underline * *
}

a:hover {
Color: #4499EE;
Text-decoration:none; /* Underline effect: no underline * *
border-bottom:1px #0099CC dotted/* plus a dotted line with only the bottom border of the box * *
}

a{} controls the effect of the connection a:hover{} controls the effect of the mouse move up.
Some CSS defines dashed instance code
<textarea id="runcode38601"><style> table{width:200px;height:100px;} . table1{border:1px solid #6E6B85}. table2{border:1px solid #000 dotted}. table3{border-top:1px Solid #f00 dotted;border- left:1px solid #f00 dotted;} . table3 td{border-right:1px Solid #f00 dotted;border-bottom:1px solid #f00 dotted; . table4 td{border:1px solid #f00 dotted; </style> <table class= "table1" > <tr align= "center" > <TD>TD one </TD><TD>TD two </td > </tr> </table> <table class= "table2" > <tr align= "center" > <TD>TD One </td>< ; td>td two </td> </tr> </table> <table class= "Table3" > <tr align= "center" > <td> TD a </TD><TD>TD two </td> </tr> </table> <table class= "Table4" > <tr align= "Center "> <td>td one </td><td>td two </td> </tr> </table></textarea>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]

<ptml> <pead> <meta http-equiv= "Content-type" content= "text/html; charset=gb2312 > <title> New page 2</title> </pead> <body> <table width=150px HEIGHT=150PX&G T <tr > <td > Haha</td> <td >haha</td> </tr> <tr> <td >haha</td> <TD >haha</td> </tr> </table> </body> </ptml>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]

<table width= "height=" border= "0" cellpadding= "0" cellspacing= "0" > <tr> <td> </td> &l T;/tr> </table>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]

<table> <tr align= "center" > <td >TD</td> </tr> </table>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]

<table> <tr align= "center" > <td style= "width : 100px;height:100px;border:dotted 1px black; border-width:0 1px; " >TD</td> </tr> </table>
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.