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

WBOY
Release: 2016-06-24 12:17:13
Original
888 people have browsed it

HTML code:



    #">Forum
    Campus Navigation


    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;}
    Copy after login

    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.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template