Html 带有图像和文本css的水平列表

Html 带有图像和文本css的水平列表,html,css,Html,Css,我对水平列表有问题。。。它应该是一个水平列表而不是垂直列表 我的html代码是: <section id="services"> <header> <h1>Serviços</h1> </header> <section> <ul> <li> <span class="webdesi

我对水平列表有问题。。。它应该是一个水平列表而不是垂直列表

我的html代码是:

<section id="services">
    <header> 
        <h1>Serviços</h1>
    </header>
    <section>
        <ul>
            <li>
                <span class="webdesign"/>
                <h1>
                    <span>01.</span>
                    Webdesign 
                </h1>
            </li>
            <li>
                <span class="graphicdesign"/>
                <h1>
                    <span>02.</span>
                    Graphic design 
                </h1>
            </li>
            <li>
                <span class="webdeveloper"/>
                <h1>
                    <span>03.</span>
                    Web Developer
                </h1>

        </ul>
    </section> </section>

如果有人能帮助我,我很感激

只需设置
显示:内联块关于您的
#服务ul li


是的,就是这么简单。没问题。
 /* services */

#services ul {  margin-top: 70px; }

ul {  line-height: 1.6; list-style-position: inside; margin-bottom: 17px; }

#services ul li {  list-style: none outside none; width: 25%; }

li {  display: list-item;  }

#services ul li h1 {  font-family: "LithosPro"; font-size: 12px; font-weight: 400; margin-top: 15px; text-align: center; text-transform: uppercase; }

#services ul li > span.webdesign:hover {  background-position: 0px -233px; }

#services ul li > span.graphicdesign {  background-position: -255px 0px; }

#services ul li > span.graphicdesign:hover {  background-position: -255px -233px; }

#services ul li > span.webdeveloper {  background-position: -528px 5px; }

#services ul li > span.webdeveloper:hover {  background-position: -528px -227px; }

#services ul li h1 span {  color: #FE4A4A; font-family: "amatic_scbold"; }

#services ul li > span {  background: url("../images/star.png") no-repeat transparent; display: block; height: 215px; width: 235px; }