热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

IE7下CSS显示有问题啊。【HTML】

web前端|html教程IE7下CSS显示问题啊。。。。。web前端-html教程电子借条源码,vscode删除重装,ubuntu查看可用模块,jvmtomcat崩溃,sqlite

web前端|html教程IE7下CSS显示有问题啊。【HTML】
IE7下CSS显示问题啊。。。。。
web前端-html教程
电子借条源码,vscode删除重装,ubuntu查看可用模块,jvm tomcat崩溃,sqlite 设置值,图片放大缩小旋转插件,前端框架三巨头之作,python爬虫解决,php 网站 开发,seo优化 url,电商网站app下载代码,网页版自动计算器,商城订单模板html,html知乎登录页面,java学生成绩管理系统源码,微擎 小程序用户信息lzw

顶部top具体安排
显示正文部分

显示plug部分

说一下那个banner大小,1000乘以300px的
css如下:

php注册系统源码下载,ubuntu 生效环境配置,sql语言和爬虫,伪代码php,seo的keywordslzw

@charset "utf-8";/* CSS Document */body { margin: 0px;}.hr {height: 1px;border: none;border-top: 1px solid #2673EC;margin-top: 5px;margin-right: 0px;margin-bottom: auto;margin-left: 0px;}/*分割线样式*//*顶部布局开始*/ #top {background-color: #2673EC;height: 50px;width: 100%;}#topbj {margin: auto;height: 70px;width: 1000px;}#logo {height: 55px;width: 250px;float: left;}#banner { height: 300px; width: 1000px; background-image: url(../images/banner.jpg); margin-right: auto; margin-bottom: auto; margin-left: auto;}#nav {height: 110px;width: 1000px;margin: auto;}#dh { float: right; margin-top: 64px; font-family: "微软雅黑"; margin-right: 5px;}ul li {list-style:none;}.menu li {display: inline;float: left;margin: 0 5px;/* [disabled]background: #f2f2f2; *//* [disabled]border: 1px #39c solid; */text-align: center;font-size: 20px;font-weight: 700;line-height: 30px;cursor: hand;}.tuckUp {display: inline;width: 120px;height: 30px;overflow: hidden;margin-bottom: 0px;}.pullDown{display: inline;height: auto;}.item a:link, .item a:visited {display: inline;float: left;width: 120px;background: #ccc;text-align: center;color: #929292;font-size: 20px;font-weight: normal;text-decoration: none;}.item a:hover {float: left;color: #FFF;text-decoration: none;text-align: center;font-size: 20px;font-weight: 700;font-weight: normal;}/*导航部分结束*/#index {margin: auto;width: 1000px;height: 900px;}#indexnew { float: left; width: 760px; margin-top: 10px;}.indexact {height: 300px;width: 700px;}#indexplug { float: left; width: 225px; margin-top: 10px;}#indexhr { width: 5px; float: left; border-left-width: 1px; border-left-style: solid; border-left-color: #93C; margin-top: 20px; height: 700px; margin-left: 5px;}

在IE7下显示有问题啊。。。。
成这个样子,求大牛指点!!!!!

皇室战争源码,设置vscode的全局路径,Ubuntu封装镜像,设置tomcat 热加载,爬虫简历大全,js中写php代码,seo关键字优化难度,易吃订餐网站外卖系统源码,免费的ptt模板lzw
回复讨论(解决方案)

没人吗!!!!!!!!!!!!!!!!!!!!

没人吗!!!!!!!!!!!!!!!!!!!! bannner把下菜单项覆盖了的问题吗?如果是的话,给菜单选项块设置z-index优先显示。

引用 1 楼 shenxinqibei 的回复:没人吗!!!!!!!!!!!!!!!!!!!!bannner把下菜单项覆盖了的问题吗?如果是的话,给菜单选项块设置z-index优先显示。 items要设置浮动但其父元素不要设置浮动。或者直接把item的position:absolute;然后用margin-top/margin-left定位;

菜单

option1

引用 2 楼 jwf007 的回复:引用 1 楼 shenxinqibei 的回复:没人吗!!!!!!!!!!!!!!!!!!!!bannner把下菜单项覆盖了的问题吗?如果是的话,给菜单选项块设置z-index优先显示。items要设置浮动但其父元素不要设置浮动。或者直接把item的position:absolute;然后用margin-top/margin-left定……
还是导航和banner应该是无缝的~~~
IE8、9正常
IE7却上移了一些。。。怎么解决?

引用 3 楼 jwf007 的回复:引用 2 楼 jwf007 的回复:引用 1 楼 shenxinqibei 的回复:没人吗!!!!!!!!!!!!!!!!!!!!bannner把下菜单项覆盖了的问题吗?如果是的话,给菜单选项块设置z-index优先显示。items要设置浮动但其父元素不要设置浮动。或者直接把item的position:absolute;然后用margi…… 哦,你试试在样式里加一个img{margin:0}看看。猜是图片的BUG问题

引用 4 楼 shenxinqibei 的回复:引用 3 楼 jwf007 的回复:引用 2 楼 jwf007 的回复:引用 1 楼 shenxinqibei 的回复:没人吗!!!!!!!!!!!!!!!!!!!!bannner把下菜单项覆盖了的问题吗?如果是的话,给菜单选项块设置z-index优先显示。items要设置浮动但其父元素不要设置浮动。或者直接把item的po…… img{margin-bottom:-3px;}a img{border:none}试试

引用 5 楼 jwf007 的回复:引用 4 楼 shenxinqibei 的回复:引用 3 楼 jwf007 的回复:引用 2 楼 jwf007 的回复:引用 1 楼 shenxinqibei 的回复:没人吗!!!!!!!!!!!!!!!!!!!!bannner把下菜单项覆盖了的问题吗?如果是的话,给菜单选项块设置z-index优先显示。items要设置浮动但其父元素不……
我是以css背景的方式加载图片的,如果以图片写在html,导航会把banner往下拉……
问题这BUG,IE7和IE6都出现。。。。。不是应该IE6才出现吗?

好吧。。。。都没效。。。
亲,你在DW做,然后用IE F12调试下吧。。。
我已经被这个折磨疯了。。。。。
求修改代码啊!!!!

真心想做 ,你 把ie8,ie7的 页面都贴出来 ,方便大家看啊 ,这样只能乱猜

#nav {height: 110px;width: 1000px;margin: auto; z-index:1; position: relative;}


推荐阅读
author-avatar
changless
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有