<style type="text/css">
<!--
a:link {
color: #FF0000;
}
a:visited {
color: #CC3333;
}
a:hover {
color: #3366CC;
}
a:active {
color: #333333;
}
-->
</style>
a:link 设置普通链接
a:visited 设置访问过的链接
a:hover 设置鼠标移上的链接
a:active 设置当前激活的链接
定死单格
<style type="text/css">
<!--
table {
table-layout: fixed;
word-wrap:break-word;
}
div {
word-wrap:break-word;
}
-->
</style>
博客主要介绍了CSS中链接样式的设置,包括普通链接、访问过的链接、鼠标移上的链接和当前激活的链接的颜色设置。还展示了定死表格单元格的CSS代码,通过设置table-layout和word-wrap属性实现。
3万+

被折叠的 条评论
为什么被折叠?



