1.  兼容 IF

    <!--[if lte IE 7]>
<style type="text/css">
.menu
{
position:relative;
z-index:999;
}
</style>
<![endif]-->
<!--[if lte IE 6]>
<style type="text/css">
/* styling specific to Internet Explorer IE5.5 and IE6. Yet to see if IE7 handles li:hover */
/* Get rid of any default table style */
table {
border-collapse:collapse;
margin:0;
padding:0;
}
/* ignore the link used by 'other browsers' */
.menu ul li a.hide, .menu ul li a:visited.hide {
display:none;
}
/* set the background and foreground color of the main menu link on hover */
.menu ul li a:hover {
color:#fff;
background:#b3ab79;
}
/* make the sub menu ul visible and position it beneath the main menu list item */
.menu ul li a:hover ul {
display:block;
position:absolute;
top:32px;
left:0;
width:105px;
}
/* style the background and foreground color of the submenu links */
.menu ul li a:hover ul li a {
background:#faeec7;
color:#000;
}
/* style the background and forground colors of the links on hover */
.menu ul li a:hover ul li a:hover {
background:#dfc184;
color:#000;
}
</style>
<![endif]-->

IF

最新文章

  1. JavaScript POST 请求如何跨域
  2. mysql查找重复
  3. CV牛人牛事简介之一
  4. bootm命令中地址参数,内核加载地址以及内核入口地址
  5. sql点滴42—mysql中的数据结构
  6. Vuex核心知识(2.0)
  7. python结合shell脚本实现简单的日常集中巡检
  8. 开发过程中,ps要做的事情
  9. 2015-10-27 C#3
  10. Oracl数据库+PL/SQL安装与配置
  11. 【hdu 6172】Array Challenge(数列、找规律)
  12. 2、Kafka架构
  13. rocketmq自启动配置
  14. MySQL存储引擎MyISAM与InnoDB区别总结整理
  15. javascript(面向对象,作用域,闭包,设计模式等)
  16. a标签自执行点击事件
  17. CentOS7 安装 GitLab
  18. mysql分组GROUP BY常用sql
  19. WTS 2.1.18124.1 彻底抛弃了 15063(Win 10 创意者更新)
  20. 【转】软件质量之道:SourceMonitor

热门文章

  1. uboot之run_command简单分析
  2. 计算机器内存数量+引入和显示ARDS成员
  3. EF获取DbContext中已注册的所有实体类型
  4. 新装上线 年度精品 XP,32/64位Win7,32/64位Win10系统【电脑城版】
  5. SRM 626 D1L1: FixedDiceGameDiv1,贝叶斯公式,dp
  6. iOS开发 僵尸调试
  7. SPOJ SUBLEX - Lexicographical Substring Search 后缀自动机 / 后缀数组
  8. 【BZOJ4942】[Noi2017]整数 线段树+DFS(卡过)
  9. html学习笔记(1)--处理特殊字符以及其他的一些小细节
  10. 连通性 保证f具有介值性质