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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-24 12:12:35
Original
1121 people have browsed it

标签里面的样式放在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了

    Related labels:
    Previous article:Asking for basic css questions! _html/css_WEB-ITnose Next article:css positioning_html/css_WEB-ITnose
    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
    Latest Articles by Author
    Latest Issues
    Objective-c - Constraints for iOS a warning issue
    From 1970-01-01 08:00:00
    0
    0
    0
    Related Topics
    More>
    Popular Recommendations
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template