开发者

Make Indent for <li>

开发者 https://www.devze.com 2023-03-25 16:08 出处:网络
I\'ve tried putting 10px of padding in but no success. You can see an example of it lower down on 开发者_Go百科this page.

I've tried putting 10px of padding in but no success. You can see an example of it lower down on 开发者_Go百科this page.

  #menu li {
        float: left;
        margin: 0px 0 0px 0;
        padding: 0 0 0 10px;
        }

Thanks to everyone who answers! Tara


Not sure how your page is made, but adding a margin-left of 200px on the ul element works. (Assuming we are talking about the ul under "When you’re Asking for Advice")


You should wrap your content in a div with a new formatting context after #sidebox2000.

0

精彩评论

暂无评论...
验证码 换一张
取 消