what do I tweak to manipulate the gaps between bullets/numbers and list items?
Simple question - what part of my CSS do I tweak to adjust the gap between a bullet/number and the first text character in an HTML list?
Bonus question - I've see开发者_JS百科n it mentioned here that controlling table spacing by adjust padding on table tr td {}
is bad practice, but I haven't seen someone explain how you're really supposed to do it...?
margin and padding should do it.
i see no reason why you can't have padding on a td. i do it and it works well. i think what people are moving towards now is a model of using divs and placing them like tables using css.
<html>
<style>
ul {}
li { padding:0 0 0 30px ;}
</style>
<body>
<ul>
<li>one</li>
<li>two</li>
</ul>
</body>
</html>
精彩评论