用CSS来定义标签,要求实现如下效果:字体颜色再IE6下为黑色,IE7下为红色,IE8下为绿色,其余浏览器下为黄色。...

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="author" content="http://www.softwhy.com/" /> <title></title> <style> p{ color: yellow; } </style> <!--[if IE 7]> <style> p{ color:red;
相关文章
相关标签/搜索