TABLE的CSS应用(细线表格)
<head><style type="text/css">table{border-collapse:collapse;}table,td,th{border:1px solid red;}</style></head><TABLE width=100%><CAPTION vAlign=top>“自由”后的自学</CAPTION><CAPTION vAlign=bottom>知识重点:请注意表格内部的单元格合并</CAPTION><TBODY><TR height=20><TH bgColor=green><FONT color=white>First</FONT></TH><TH bgColor=yellow>second</TH><TH bgColor=blue>Third</TH><TH bgColor=red>fourth</TH><TH bgColor=maroon>Fifth</TH><TH bgColor=navy><FONT color=white>Sixth</FONT></TH></TR><TR height=30 bgColor=teal><TD>1</TD><TD>2</TD><TD>3</TD><TD>4</TD><TD>5</TD><TD>6</TD></TR><TR height=40 bgColor=#0a00e0><TD>1</TD><TD>2</TD><TD>3</TD><TD>4</TD><TD>5</TD><TD>6</TD></TR><TR height=50 bgColor=aqua><TD>1</TD><TD>2</TD><TD>3</TD><TD vAlign=center rowSpan=2 align=middle>4</TD><TD bgColor=white vAlign=center background=images/logo4.gif rowSpan=4 width=120 align=middle>5</TD><TD>6</TD></TR><TR height=60 bgColor=lime><TD>1</TD><TD>2</TD><TD>3</TD><TD>6</TD></TR><TR height=70 bgColor=olive><TD>1</TD><TD colSpan=2 align=middle>2</TD><TD>4</TD><TD>6</TD></TR><TR height=80 bgColor=gray><TD>1</TD><TD>2</TD><TD>3</TD><TD>4</TD><TD>6</TD></TR><TR height=90 bgColor=silver><TD>1</TD><TD>2</TD><TD>3</TD><TD>4</TD><TD>5</TD><TD>6</TD></TR><TR height=100 bgColor=fuchsia><TD>1</TD><TD>2</TD><TD>3</TD><TD>4</TD><TD>5</TD><TD>6</TD></TR></TBODY></TABLE>