Forums

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

Home Forums CSS Margin to 0 on first and last element in wrapper Re: Margin to 0 on first and last element in wrapper

#55682
TheDoc
Member

Well, content should always start with an h1 tag, but I suppose that’s an argument for another day.

My suggestion is this: #box h1 { margin-top: 0; }

If anyone else wants to put their two cents in, by all means.