Home  >  Article  >  Web Front-end  >  display:none;problem_html/css_WEB-ITnose in IE6.0

display:none;problem_html/css_WEB-ITnose in IE6.0

WBOY
WBOYOriginal
2016-06-24 12:17:13886browse

HTML code:
23866e9ec4c6348108b9bcdfc464afc6
42a20141069f4bdbbfa18307dabbad85
#">a4b561c25d9afb9ac8dc4d70affff419Forum0d36329ec37a2cc24d42c7229b69747a5db79b134e9f6b82c0b36e0489ee08edbed06894275b65c1ab86501b08a632eb
Campus Navigation0d36329ec37a2cc24d42c7229b69747a5db79b134e9f6b82c0b36e0489ee08ed
d12f37fee26aa7e92e63a212afc82254
25edfb22a4f469ecb59f1190150159c6ee7959cc8dd4be16ef633321c03dac32Antivirus Service5db79b134e9f6b82c0b36e0489ee08ed< ;/li>
25edfb22a4f469ecb59f1190150159c6ee7959cc8dd4be16ef633321c03dac32Academic Affairs System5db79b134e9f6b82c0b36e0489ee08edbed06894275b65c1ab86501b08a632eb
25edfb22a4f469ecb59f1190150159c6ee7959cc8dd4be16ef633321c03dac32 Telecom Homepage5db79b134e9f6b82c0b36e0489ee08edbed06894275b65c1ab86501b08a632eb
25edfb22a4f469ecb59f1190150159c6ee7959cc8dd4be16ef633321c03dac32Digital Library5db79b134e9f6b82c0b36e0489ee08edbed06894275b65c1ab86501b08a632eb
25edfb22a4f469ecb59f1190150159c6< ;a href="#">Campus Taobao5db79b134e9f6b82c0b36e0489ee08edbed06894275b65c1ab86501b08a632eb
929d1f5ca49e04fdcb27f9465b944689
bed06894275b65c1ab86501b08a632eb
Css code:
.mainul li{ float:left;
font-size:15px;
text-align:center;
font-family:"中文字幕黑";
width:120px;}
.display :none;}

ul,li{ list-style:none;}

ul{ padding:0;
margin:0;}


The display effect of IE6.0

is normal in IE8:


Reply to the discussion (solution)

Please give me some advice, IE6 has always been a headache. How to change it in IE6 so that it has the same effect as in IE8? ?

There should be no problem with fluid layout. You can refer to: http://wrongwaycn.github.com/bootstrap/docs/

The html code is incomplete. .

Try

.mainul li {_postion:relative;}.disul {_position:absolute;}

I added .mainul li {_postion:relative;}
.disul {_position:absolute;top: 100px; left:120px; }

This is it,

When pointing to all main menus, the submenus appear in the same position

This is relatively simple, and they are all basic layouts.

IE6 is more prone to problems.

You can take a look at float, height, and width. If it's very troublesome, just use positioning. Positioning doesn't require any skills.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn