How to use CSS to control the style of an HTML unordered list?

My ul "reset" looks something like this: ul { list-style-type: none; margin: 0; padding: 0 }.

Thanks, that did the trick! – Mike42 Jan 31 '10 at 23:36.

You want to remove or at least lessen the margin/padding. Li ul { padding: 0; margin: 0 } li ul li { padding: 0; margin: 0; } This should make it flush with the main section list items, adjust to taste.

You need to add class attribute to the sublist: Main Sub1 Sub2 And put this css for it: ul. Sublist{ margin-left:20px; }.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions