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

Home Forums CSS [Solved] Trying to center Reply To: [Solved] Trying to center


You should probably start with a universal reset

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

That helps a lot.

I’d also prefer a p or a heading to a span for the .city…something block level. I’ve outlined it in red so you can see the difference.