The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Odd spacing on 'before'. Reply To: Odd spacing on 'before'.



Demo at:

Thinking more about this, it’s probably to be expected that the first-stated behavior is normal.

But I don’t know why a line-break should introduce additional spacing. I guess it’s just ‘one of those things’, and the fix is to use a right-margin to add desired space.

I only noticed this by accident, inadvertently spilling my code onto two lines rather than a single.