对于因clear: both会引起IE和FF高度变化,通过如下方法解决:
[codes=css].clear {
clear: both;
height:1px;
margin-top:-1px;
overflow:hidden;
} [/codes]
IE6/IE7/Firefox的hack方法:
[codes=css]height:20px; /*For Firefox*/
*height:25px; /*For IE7 & IE6*/
_height:20px; /*For IE6*/[/codes]
文字两边对齐:
[codes=css]text-align:justify;
text-justify:inter-ideograph;[/codes]
1px的table:
[codes=css]table,td{border:1px solid black;
border-collapse: collapse;}[/codes]
网页上支持11号清晰中文字体:
[codes=css]tahoma
mingliu[/codes]

