I just experienced kinda the same problem, tho it wasn't a typo or missing ";".
So i checked code, tried to change positions in the stylesheet and tried it into the html file.. still didn't work.
Then i read that the Browser Zoom should be 100% (using Google Chrome btw.),
checked it and it said 100% Zoom.. but it still wasn't working - so i played a bit with the zoom and it worked with 80% Zoom
Hope this helps some Peoples over here, ever tho its kinda weird.
Maybe to identify the "bug" from me i used/have:
Laptop: HP Elitebook 850
OS: Windows 7 Enterprise (64-Bit)
Browser: Google Chrome (Portable)
With Windows Settings on:
100% Textzoom ; 1920x1080px
Bye & Happy Coding guys!