HTML/CSS – Div does not resize according to content

Finally, a post about plain old HTML and CSS. Anyone who has coded for UI knows the pain of writing every line perfectly and still seeing the code rendered like gobbledygook (yes, this is an actual word). A real pain in the posterior is CSS. Really! This is what happened…