针对IE6,IE7,Firefox的CSS
下面分别给出IE6\IE7\Firefox的hack代码:
#example { color: #333; } /* Firefox */
* html #example { color: #666; } /* IE6 */
*+html #example { color: #999; } /* IE7 */
那么在Firefox下字体颜色显示为#333,IE6下字体颜色显示为#666,IE7下字体颜色显示为#999,他们之间互不干扰。
from:asp学习网/title:针对IE6,IE7,Firefox的CSS/ time:2006-12-11 22:14:06
本文主题针对IE6,IE7,Firefox的CSS