<Style>
TD {font-size: 9pt; Word-break: Break-all}
# Corner {font-size: 1px}
# Tit {Height: 20px; color: White ;}
# TXT {font-size: 9pt; line-Height: 150%; Background: white; border-width: 1px; border-style: solid}
. L,. R,. TL,. Tr,. Bl,. BR {width: 3px}
. T,. B,. TL,. Tr,. Bl,. BR {Height: 3px}
</Style>
<Table cellpadding = 2 cellspacing = 0>
<Tr> <TD>
<Table id = corner class = black cellpadding = 0 cellspacing = 0 width = 400>
<Tr>
<TD class = tL> <a id = corner class = tL> </a> </TD>
<TD class = T> <a id = corner class = T> </a> </TD>
<TD class = tr> <a id = corner class = tr> </a> </TD>
</Tr>
<Tr>
<TD class = L> <a id = corner class = L> </a> </TD>
<TD>
<Table id = Box cellpadding = 3 cellspacing = 0 width = 100%>
<Tr id = tit> <TD>
<B> Xiaoyao wolf does not have smart rounded corners for pictures </B>
</TD> </tr>
<Tr corner_style = "display:"> <TD id = TXT>
Features: <br>
1: You only need one js to set the rounded corner style. There are six built-in styles. You only need to use "class = style" to define the rounded corner. <br>
2: duplicate rounded corners do not need to be set repeatedly. You only need to define the rounded corners with "id = corner". <br>
3: good compatibility. <Br>
</TD> </tr> </table>
</TD>
<TD class = r> <a id = corner class = r> </a> </TD>
</Tr>
<Tr>
<TD class = bl> <a id = corner class = bl> </a> </TD>
<TD class = B> <a id = corner class = B> </a> </TD>
<TD class = br> <a id = corner class = br> </a> </TD>
</Tr>
</Table>
</TD> </tr> <TD>
<Table id = corner class = blue cellpadding = 0 cellspacing = 0 width = 400>
<Tr>
<TD class = tL> <a id = corner class = tL> </a> </TD>
<TD class = T> <a id = corner class = T> </a> </TD>
<TD class = tr> <a id = corner class = tr> </a> </TD>
</Tr>
<Tr>
<TD class = L> <a id = corner class = L> </a> </TD>
<TD>
<Table id = Box cellpadding = 3 cellspacing = 0 width = 100%>
<Tr id = tit> <TD>
<B> Xiaoyao wolf does not have smart rounded corners for pictures </B>
</TD> </tr>
<Tr corner_style = "display:"> <TD id = TXT>
Features: <br>
1: You only need one js to set the rounded corner style. There are six built-in styles. You only need to use "class = style" to define the rounded corner. <br>
2: duplicate rounded corners do not need to be set repeatedly. You only need to define the rounded corners with "id = corner". <br>
3: good compatibility. <Br>
</TD> </tr> </table>
</TD>
<TD class = r> <a id = corner class = r> </a> </TD>
</Tr>
<Tr>
<TD class = bl> <a id = corner class = bl> </a> </TD>
<TD class = B> <a id = corner class = B> </a> </TD>
<TD class = br> <a id = corner class = br> </a> </TD>
</Tr>
</Table>
</TD> </tr> <TD>
<Table id = corner class = red cellpadding = 0 cellspacing = 0 width = 400>
<Tr>
<TD class = tL> <a id = corner class = tL> </a> </TD>
<TD class = T> <a id = corner class = T> </a> </TD>
<TD class = tr> <a id = corner class = tr> </a> </TD>
</Tr>
<Tr>
<TD class = L> <a id = corner class = L> </a> </TD>
<TD>
<Table id = Box cellpadding = 3 cellspacing = 0 width = 100%>
<Tr id = tit> <TD>
<B> Xiaoyao wolf does not have smart rounded corners for pictures </B>
</TD> </tr>
<Tr corner_style = "display:"> <TD id = TXT>
Features: <br>
1: You only need one js to set the rounded corner style. There are six built-in styles. You only need to use "class = style" to define the rounded corner. <br>
2: duplicate rounded corners do not need to be set repeatedly. You only need to define the rounded corners with "id = corner". <br>
3: good compatibility. <Br>
</TD> </tr> </table>
</TD>
<TD class = r> <a id = corner class = r> </a> </TD>
</Tr>
<Tr>
<TD class = bl> <a id = corner class = bl> </a> </TD>
<TD class = B> <a id = corner class = B> </a> </TD>
<TD class = br> <a id = corner class = br> </a> </TD>
</Tr>
</Table>
</TD> </tr> <TD>
<Table id = corner class = green cellpadding = 0 cellspacing = 0 width = 400>
<Tr>
<TD class = tL> <a id = corner class = tL> </a> </TD>
<TD class = T> <a id = corner class = T> </a> </TD>
<TD class = tr> <a id = corner class = tr> </a> </TD>
</Tr>
<Tr>
<TD class = L> <a id = corner class = L> </a> </TD>
<TD>
<Table id = Box cellpadding = 3 cellspacing = 0 width = 100%>
<Tr id = tit> <TD>
<B> Xiaoyao wolf does not have smart rounded corners for pictures </B>
</TD> </tr>
<Tr corner_style = "display:"> <TD id = TXT>
Features: <br>
1: You only need one js to set the rounded corner style. There are six built-in styles. You only need to use "class = style" to define the rounded corner. <br>
2: duplicate rounded corners do not need to be set repeatedly. You only need to define the rounded corners with "id = corner". <br>
3: good compatibility. <Br>
</TD> </tr> </table>
</TD>
<TD class = r> <a id = corner class = r> </a> </TD>
</Tr>
<Tr>
<TD class = bl> <a id = corner class = bl> </a> </TD>
<TD class = B> <a id = corner class = B> </a> </TD>
<TD class = br> <a id = corner class = br> </a> </TD>
</Tr>
</Table>
</TD> </tr> <TD>
<Table id = corner class = yellow cellpadding = 0 cellspacing = 0 width = 400>
<Tr>
<TD class = tL> <a id = corner class = tL> </a> </TD>
<TD class = T> <a id = corner class = T> </a> </TD>
<TD class = tr> <a id = corner class = tr> </a> </TD>
</Tr>
<Tr>
<TD class = L> <a id = corner class = L> </a> </TD>
<TD>
<Table id = Box cellpadding = 3 cellspacing = 0 width = 100%>
<Tr id = tit> <TD>
<B> Xiaoyao wolf does not have smart rounded corners for pictures </B>
</TD> </tr>
<Tr corner_style = "display:"> <TD id = TXT>
Features: <br>
1: You only need one js to set the rounded corner style. There are six built-in styles. You only need to use "class = style" to define the rounded corner. <br>
2: duplicate rounded corners do not need to be set repeatedly. You only need to define the rounded corners with "id = corner". <br>
3: good compatibility. <Br>
</TD> </tr> </table>
</TD>
<TD class = r> <a id = corner class = r> </a> </TD>
</Tr>
<Tr>
<TD class = bl> <a id = corner class = bl> </a> </TD>
<TD class = B> <a id = corner class = B> </a> </TD>
<TD class = br> <a id = corner class = br> </a> </TD>
</Tr>
</Table>
</TD> </tr> <TD>
<Table id = corner class = pink cellpadding = 0 cellspacing = 0 width = 400>
<Tr>
<TD class = tL> <a id = corner class = tL> </a> </TD>
<TD class = T> <a id = corner class = T> </a> </TD>
<TD class = tr> <a id = corner class = tr> </a> </TD>
</Tr>
<Tr>
<TD class = L> <a id = corner class = L> </a> </TD>
<TD>
<Table id = Box cellpadding = 3 cellspacing = 0 width = 100%>
<Tr id = tit> <TD>
<B> Xiaoyao wolf does not have smart rounded corners for pictures </B>
</TD> </tr>
<Tr corner_style = "display:"> <TD id = TXT>
Features: <br>
1: You only need one js to set the rounded corner style. There are six built-in styles. You only need to use "class = style" to define the rounded corner. <br>
2: duplicate rounded corners do not need to be set repeatedly. You only need to define the rounded corners with "id = corner". <br>
3: good compatibility. <Br>
</TD> </tr> </table>
</TD>
<TD class = r> <a id = corner class = r> </a> </TD>
</Tr>
<Tr>
<TD class = bl> <a id = corner class = bl> </a> </TD>
<TD class = B> <a id = corner class = B> </a> </TD>
<TD class = br> <a id = corner class = br> </a> </TD>
</Tr>
</Table>
</TD> </tr> </table>
<SCRIPT>
Function setcorner ()
{
Corner_table = Document. All. Tags ("table ")
For (I = 0; I <corner_table.length; I ++)
{
If (corner_table [I]. ID = "Corner ")
{
Mycorner = corner_table [I]. getelementsbytagname ("")
Corner_style = corner_table [I]. classname
If (corner_style = "black") {BO = "#666666"; BG = "#999999 "}
If (corner_style = "blue") {BO = "# 0000ff"; BG = "# 9999ff "}
If (corner_style = "red") {BO = "# ff3333"; BG = "# ff9999 "}
If (corner_style = "green") {BO = "#009900"; BG = "#66cc33 "}
If (corner_style = "yellow") {BO = "# cc9900"; BG = "# ff9966 "}
If (corner_style = "pink") {BO = "# cc33cc"; BG = "# ff99ff "}
Corner_box = corner_table [I]. getelementsbytagname ("table ")
For (II = 0; II <corner_box.length; II ++)
{If (corner_box [II]. ID = "box") {corner_box = corner_box [II]; break }}
Corner_tit = corner_box.getelementsbytagname ("TR ")
For (II = 0; II <corner_tit.length; II ++)
{If (corner_tit [II]. ID = "tit") {corner_tit = corner_tit [II]; break }}
Corner_tit.style.background = BG
Corner_txt = corner_box.getelementsbytagname ("TD ")
For (II = 0; II <corner_txt.length; II ++)
{If (corner_txt [II]. ID = "TXT") {corner_txt = corner_txt [II]; break }}
Corner_txt.style.bordercolor = bo
For (II = 0; II <mycorner. length; II ++)
{
If (mycorner [II]. ID = "Corner ")
{
Postion = mycorner [II]
Id = mycorner [II]. classname
If (ID = "TL") {W = 3, H = 3}
If (ID = "TR") {W = 3, H = 3}
If (ID = "Bl") {W = 3, H = 3}
If (ID = "Br") {W = 3, H = 3}
If (ID = "T") {W = corner_box.offsetwidth, H = 3}
If (ID = "B") {W = corner_box.offsetwidth, H = 3}
If (ID = "L") {W = 3, H = corner_box.offsetheight}
If (ID = "R") {W = 3, H = corner_box.offsetheight}
Corner _ = "<TD bgcolor = white> </TD>"
Corner_bo = "<TD bgcolor =" + bo + "> </TD>"
Corner_bg = "<TD bgcolor =" + bg + "> </TD>"
Corner_array = [corner _, corner_bo, corner_bg]
If (ID = "T") {Col = 3; ROW = 1; html_array = [1, 2]} // above
If (ID = "B") {Col = 3; ROW = 1; html_array = [2, 2]} // bottom
If (ID = "L") {Col = 1; ROW = 3; html_array = [1, 2]} // left
If (ID = "R") {Col = 1; ROW = 3; html_array = [2, 2]} // right
If (ID = "TL") {Col = 3; ROW = 3; html_array = [,]} // upper left corner
If (ID = "TR") {Col = 3; ROW = 3; html_array = [, 1]} // upper right corner
If (ID = "Bl") {Col = 3; ROW = 3; html_array = [, 1]} // lower left corner
If (ID = "Br") {Col = 3; ROW = 3; html_array = [, 0]} // bottom right corner
Html = "<Table Style = \" font-size: 0 \ "cellpadding = 0 cellspacing = 0 width =" + W + "PX Height =" + H + "PX> <tr>"
For (III = 0; III {
HTML + = corner_array [html_array [III]
If (iii + 1) % ROW = 0 & (iii + 1 )! = Html_array.length) {HTML + = "</tr> <tr> "}
}
HTML + = "</tr> </table>"
Postion. innerhtml = html
}
}
}
}
}
Setcorner ()
</SCRIPT>
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.