---
title: "CSS"
author: "fanjava"
date: "2005-02-24T15:45:00Z"
tags: []
slug: "css"
draft: false
lastmod: "2005-02-24T15:45:00Z"
id: 601783
url: "https://fanjava.iteye.com/blog/601783"
---

&lt;style type="text/css"&gt;  
&lt;!--  
a:link {  
color: #FF0000;  
}  
a:visited {  
color: #CC3333;  
}  
a:hover {  
color: #3366CC;  
}  
a:active {  
color: #333333;  
}  
\--&gt;  
&lt;/style&gt;

a:link 设置普通链接  
a:visited 设置访问过的链接  
a:hover 设置鼠标移上的链接  
a:active 设置当前激活的链接

定死单格

&lt;style type="text/css"&gt;  
&lt;!--  
table {  
table-layout: fixed;  
word-wrap:break-word;  
}  
div {  
word-wrap:break-word;  
}

--&gt;  
&lt;/style&gt;

&lt;!-- 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"; //--&gt;