> 웹 프론트엔드 > HTML 튜토리얼 > 求个ie7样式的问题_html/css_WEB-ITnose

求个ie7样式的问题_html/css_WEB-ITnose

WBOY
풀어 주다: 2016-06-21 09:41:48
원래의
925명이 탐색했습니다.

错误图:

就是每一个div设置的height:auto根本没有撑开

html代码:


                                    
  •                                     color: #b47220;">
                                        

                                            求个ie7样式的问题_html/css_WEB-ITnose

                                        

                                            
                                                欧洲系列

                                    
                                    

                                        

                                              
                                                      

    •                                                     

                                                              求个ie7样式的问题_html/css_WEB-ITnose

                                                          

                                                              
                                                                  爱尔兰风情

                                                      

    •                                             
                                                      

    •                                                     

                                                              求个ie7样式的问题_html/css_WEB-ITnose

                                                          

                                                              
                                                                  风笛系列

                                                      

    •                                             
                                                      

    •                                                     

                                                              求个ie7样式的问题_html/css_WEB-ITnose

                                                          

                                                              
                                                                  默克尔

                                                      

    •                                             
                                                      

    •                                                     

                                                              求个ie7样式的问题_html/css_WEB-ITnose

                                                          

                                                              
                                                                  贝克汉姆

                                                      

    •                                             
                                          

                                    

                                

                        

css代码:

.a_nr1{ width:210px; float:left; height:auto; margin-left:12px; _margin-left:6px;}
.a_nr1 ul{ width:210px; float:left; height:auto !important;}
.a_nr1 ul li{ width:200px; height:23px; margin-top:10px; padding-left:10px; list-style:none; background:url(../images/leftbg.jpg) no-repeat; padding-top:8px;}
.a_nr1 a{ text-decoration:none; color:#754a15; }
.a_nr1 a:hover{ text-decoration:none; color:#9f7114;}
.l_t1{ width:10px; float:left; padding-top:4px;}
.l_t2{ width:170px; float:left;}
.l_t3{ width:10px; float:left; padding-top:6px;}
.l_xl{  float:left; height:auto ; margin-left:10px; _margin-left:6px;}
.l_xl ul{ width:210px; float:left; height:300px; }
.l_xl ul li{ width:190px; height:15px; list-style:none; background:none; color:#754a15; margin:0px; padding:0px; padding-top:10px; padding-left:10px;}
.l_xl a{ text-decoration:none; color:#754a15; }
.l_xl a:hover{ text-decoration:none; color:#9f7114;}



回复讨论(解决方案)

不想展开  就把div隐藏   通过JS控制  内容时显示  还是隐藏咯

不想展开  就把div隐藏   通过JS控制  内容时显示  还是隐藏咯 就是全都展开的。。。没有js,不过就是每个div都重合了,正常应该这样的

还没有人看看啊

后来解决了没,我的是一个jquery的插件,ztree也出现的同样的问题

관련 라벨:
원천:php.cn
본 웹사이트의 성명
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.
최신 이슈
인기 튜토리얼
더>
최신 다운로드
더>
웹 효과
웹사이트 소스 코드
웹사이트 자료
프론트엔드 템플릿