These lines seem to be working correctly, because the div is now "hidden" when the page loads. The problem is that the div is not showing before its display is set to "none." Is there something "obvious" I'm missing here?
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer sscce.org