现在的位置: 首页 > 综合 > 正文

CSS

2013年12月06日 ⁄ 综合 ⁄ 共 311字 ⁄ 字号 评论关闭

<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>

抱歉!评论已关闭.