相关疑难解决方法(0)

如何在水平行中显示<ul>

如何使用CSS将列表项水平连续显示?

#div_top_hypers {
    background-color:#eeeeee;
    display:inline;      
}
#ul_top_hypers {
    display: inline;
}
Run Code Online (Sandbox Code Playgroud)
<div id="div_top_hypers">
    <ul id="ul_top_hypers">
        <li>&#8227; <a href="" class="a_top_hypers"> Inbox</a></li>
        <li>&#8227; <a href="" class="a_top_hypers"> Compose</a></li>
        <li>&#8227; <a href="" class="a_top_hypers"> Reports</a></li>
        <li>&#8227; <a href="" class="a_top_hypers"> Preferences</a></li>
        <li>&#8227; <a href="" class="a_top_hypers"> logout</a></li>
    </ul>
</div>
Run Code Online (Sandbox Code Playgroud)

html css html-lists

101
推荐指数
7
解决办法
20万
查看次数

标签 统计

css ×1

html ×1

html-lists ×1