Home >Web Front-end >HTML Tutorial >Why does this style take effect when placed in a tag? _html/css_WEB-ITnose

Why does this style take effect when placed in a tag? _html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:12:351095browse

标签里面的样式放在style里面就不行








    PMCaff
    详情
    系统分页系统分页系统分页系统分页系统分页系统分页系统分页系统分页系统分页系统分页系统分页



  • 互联网的那些事
    详情
    系统分页






  • 回复讨论(解决方案)

    难道是优先级问题吗?我也没看出哪里会影响到啊。。。。求解

    一般情况下只要STYLE样式没有相同,就可以的,你这个问题应该是,LI没有这些属性吧!

    position:relative; z-index:1

    问题解决了。。。
    加到.index_weds_appear ul li:hover 上面
    即:.index_weds_appear ul li:hover {position:relative; z-index:1}
    效果就OK了

    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
    Previous article:Asking for basic css questions! _html/css_WEB-ITnoseNext article:Asking for basic css questions! _html/css_WEB-ITnose

    Related articles

    See more