如何在html/css里,讲<li>中的小黑点和前后段落对齐

如题所述

第1个回答  2013-08-28
调整整个UL的margin还是padding就可以了。
第2个回答  2013-08-27
.xxx li {width:20%;}

======
<li>内容</li>
第3个回答  2013-08-27
什么意思 没理解你的问题追问

比如这样,我想让那个黑点和段落对齐(让两个箭头所指的地方对齐),不知道怎么改了,多谢了啊!

追答

上面那个 元素别动的情况下,下面那个大ul 整个magin-left一下么

追问


Private yurts with decks overlooking the ocean
Activities lodge with fireplace and gift shop
。。。

怎么改呢?

追答


Private yurts with decks overlooking the ocean
Activities lodge with fireplace and gift shop
。。。

样式写到样式表里
如果不行你把 ul 包在 div里定位

本回答被提问者采纳