好吧,我已经问了一个关于如何让我的链接文本左对齐的问题:test wraps below bullet ul li .解决方案涉及将 list-style-position
更改为 outside
。问题是我还想要我的 div 中的元素符号点。有解决这个问题的简单方法吗?
最佳答案
给包含的div添加内边距
div {
padding:0 25px;
}
或
只是到 ul
.outside
{
list-style-position: outside;
padding: 0 25px;
border: 1px solid red;
}
关于html - Catch-22 : I don't want my bullet points outside my div, 但我还希望链接文本左对齐,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23837458/