CSS

博客主要介绍了CSS中链接样式的设置,包括普通链接、访问过的链接、鼠标移上的链接和当前激活的链接的颜色设置。还展示了定死表格单元格的CSS代码,通过设置table-layout和word-wrap属性实现。

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

<!-- google_ad_client = "pub-3051157228350391"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; google_ad_channel ="2408491454"; google_ad_type = "text_image"; google_color_border = "000000"; google_color_bg = "F0F0F0"; google_color_link = "0000FF"; google_color_url = "008000"; google_color_text = "000000"; //-->
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值