I have code like this:
1. Orange
some text in here
With no screenshots to refer to I'm left in the dark on what you want, so this is all guessing.
I'm guessing from class="separator" that you are trying to break up your content with a horizontal line. Shouldn't you be using with appropriate styling if that's the case?
In any case, note that elements have vertical margins set by default.
I don't see why you want the separator right up snug against your text, because it visually doesn't make sense to me.
If you really do, there's a bunch of options:
margin-bottom: 0; on the margin-top: -*px; on .separator where you're assuming you're always going to have an element right before the separator with bottom margin of *px#sc p:last-child { margin-bottom: 0; } and IE9.js for letting older Internet Explorer versions support itBut I reiterate; no margin between text and a separator doesn't sound right to me.