純自用
/*
* floating - set width for uncontrollable floating div
* mini height - use height to expand div layer only work for class but not for id at FF2 and IE7
*/
/*----- clear float cells----- */
.th{
float:left;
clear:left;
width:100px;
}
.td{
float:right;
clear:right;
width:500px;
}
/*----- hide all link focus of IE series ----- */
a {
outline:expression(hideFocus='true'); outline:0;
}
/*----- Col Style ----- */
/* Replace for <colgroup> and <col> as it's not work at Mozilla series
* For non-rowspan table only
*/
.tbB td:first-child { text-align: right; }
.tbB td { text-align: center; }
.tbB td:first-child + td + td { color:red; }
.tbB td:last-child { text-align: right; }
/*
* floating - set width for uncontrollable floating div
* mini height - use height to expand div layer only work for class but not for id at FF2 and IE7
*/
/*----- clear float cells----- */
.th{
float:left;
clear:left;
width:100px;
}
.td{
float:right;
clear:right;
width:500px;
}
/*----- hide all link focus of IE series ----- */
a {
outline:expression(hideFocus='true'); outline:0;
}
/*----- Col Style ----- */
/* Replace for <colgroup> and <col> as it's not work at Mozilla series
* For non-rowspan table only
*/
.tbB td:first-child { text-align: right; }
.tbB td { text-align: center; }
.tbB td:first-child + td + td { color:red; }
.tbB td:last-child { text-align: right; }
[轉] IE和Firefox在JavaScript方面的兼容性
Rainbow Gala 1

January 3, 2008 12:35 | by 




