Forum Moderators: not2easy
can you put the (X)HTML code up..? this always helps
any of these are a possibility:
1) You applied the style incorrectly
2) You only have the class applied to the ul element and not the li as well (or visa versa) and the default padding or margin is being applied
3) Something higher up the heirachy chain is already controlling the padding and margin and your class is not over ruling this (this is the specificity issue that Setek mentions in his post above - because of the Cascade there is an order of control that each element,div and class has over each other. As it stands with the way that it looks like you have set this class up it is pretty much at the bottom of the cascade, therefore something higher up the order could be controlling the margin and padding
do you have any other styles applied to ul or li elements anywhere else in your CSS..?
show us the (X)HTML so we can see how the class has been applied
ZA