.nav ul li a:hover{ background: #3E6EDD;}.nav ul li a:hover img{ display: block;}.nav ul li a.active{ //注意此处是 .active background: #3E6EDD;}.nav ul li a.active img{ display: block;} <div class="nav"> <ul> <li><a href=
转:http://blog.csdn.net/lgm97/article/details/6409217 <!-- ===== 页面滚动区域开始 ============================================================ --> <!-- 这两个div 用来创建页面的主体的滚动区域,应该保持原样如果你想把ribbon放在顶部 these two div id's are used to setup the main scrolling p
(此文为复制帖,原文地址为:http://blog.sina.com.cn/s/blog_a8192bdd0101af40.html) self.navigationController.navigationBar.translucent = NO; 如果在iPad上用了split view,并且设置了UINavigationBar的background image,现象为状态栏一直是一片漆黑 UINavigationController will alter the height of its