Scorptique Posted November 28, 2008 Share Posted November 28, 2008 Hello guys, When I create a list in a table (or anywhere actually), the words will naturally get indented. Is there anyway I can format it so that it doesn't get indented? (adjust the margin or something?) Like this: I dont know whether it's possible. I hope someone could help me, please ^^;; Quote Link to comment Share on other sites More sharing options...
Adam Posted December 4, 2008 Share Posted December 4, 2008 CSS: "list-style position" I've found it to be a little unpredictable across browsers though so you could use a negative margin if all else fails. Adam Quote Link to comment Share on other sites More sharing options...
haku Posted December 5, 2008 Share Posted December 5, 2008 It's good to set a default for list-style-position, because some browsers default it to inside, and others to outside. You can adjust the indenting of the list tags using css left-margin or left-padding - they will both an an indent, but in different ways. Quote Link to comment Share on other sites More sharing options...
TheFilmGod Posted December 6, 2008 Share Posted December 6, 2008 #list ul { margin: 0; padding: 0; } #list ul li { margin: 0; padding: 0; list-style: ...; } You should always start a list with these and build off it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.