learned a really simple, but nifty trick. I’m sure we all know about
margin: 0 auto; right? That will align a block level element perfectly centered in whatever it’s contained in. Wellll, did you know that you can apply that to specific margin directions? I was trying to figure out how to align an element to the right without floating it. I discovered this wonderful Stack Overflow post and my eyes were opened:
margin-left: auto; margin-right: 0; would do exactly what I was looking for.