网页设计:浏览器兼容问题 在ie6下图片不闭合怎么解决

[复制链接]
查看11 | 回复2 | 2010-9-26 11:16:33 | 显示全部楼层 |阅读模式
我的代码,初学css,求告诉指教~
.div_4_1_4_1{ float:left; display:inline; width:10px; height:310px; *height:310px; _height:310px}
.ul_4_1{ float:left; display:inline; width:10px; height:10px; list-style:none; background: url(images/button1.gif); background-position: center top; background-repeat:no-repeat}
.ul_4_2{ float:left top; width:8px; height:290px; border-left:2px #0e4a9a solid; margin:0 auto; padding:0px;}
.ul_4_3{ float:left; display:inline; width:10px; height:10px; background: url(images/button2.gif); background-position:center bottom; background-repeat:no-repeat}
.ul_4_4{ float:right top; width:8px; height:298px; border-right:2px #0e4a9a solid; border-top:2px #0e4a9a solid;margin:0 auto; padding:0px;}
.ul_4_5{ float:left; display:inline; width:10px; height:10px; background: url(images/button3.gif); background-position:center bottom; background-repeat:no-repeat}
.div_4_1_5{ float:left; display:inline; width:10px; height:310px}
.div_4_1_4_2{ float:left; display:inline; width:690px; height:306px; border-top:2px #0e4a9a solid; border-bottom:2px #0e4a9a solid;}


回复

使用道具 举报

千问 | 2010-9-26 11:16:33 | 显示全部楼层
你命名也太抽象了吧谁看得懂 啊 天书一样的东西~~~推荐你使用相对定位+绝对定位的办法外层div相对定位,然后内部的圆角所在的DIV绝对定位到角落去其余不变 那样啥问题都解决了 还很方便~~~
回复

使用道具 举报

千问 | 2010-9-26 11:16:33 | 显示全部楼层
给中间的加个DISPLAY:BLOCK试一下
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行