Remember when centering a div was a rite of passage, and page layouts meant nesting five containers deep and praying? Continue reading on JavaScript in Plain English »
Despite the countless number of online resources, it’s easy to get confused when trying to center an element. There are documented solutions, but do you really understand why the code you picked works?…