Home › Forums › CSS › [Solved] Trying to center › Reply To: [Solved] Trying to center
January 17, 2015 at 1:03 am
#193468
Paulie_D
Member
You should probably start with a universal reset
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
That helps a lot.
http://codepen.io/Paulie-D/pen/bNqXey
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.