我在让项目符号显示在无序列表中时遇到了一些麻烦。如果我更改 css 以将项目符号显示为内部,它们应该向上,但就在文本旁边。我的伙伴想要的是让子弹出现在框架的最左侧,并且在它和文本之间有几个制表符的空间。我已经弄乱了边距/边框/填充了很多。有点无法将子弹准确地送到我想要的位置!
我在下面包含了我的 html 和 css。
谢谢!詹姆士
有问题的页面:
http://www.pingdynamic.com/sites/slva/services.html
CSS:
ul {
list-style-type: circle;
list-style-position: outside;
}
li {
margin-left: 50px;
}
的HTML:
<h2 class="subheading">You Dream It. We Bring To Life.</h2>
<br>
<p>SLVA is proud to offer the following servies:</p>
<ul>
<li>Consultation - Let's discuss your goals and ideas and how to achieve them.</li>
<li>High performance parts, sales and installation.</li>
<li>Custom body work - From wide-body kits and ground effects to really any custom aesthetic modification you can imagine.</li>
<li>Custom carbon fiber design, forming and application.</li>
<li>Custom 3-stage paint work.</li>
<li>Full fabrication services - We work with all materials (including steel, aluminum, stainless steel) and methods
(traditional and TIG welding) </li>
<li>Custom chassis design and modification.</li>
<li>Custom suspension design, modification and fabrication.</li>
</ul>
</div>