WordPress CSS 1st entry bug (Safari and Chrome)
by Isaac.NG - July 28th, 2009
When developing the WordPress theme for EDv3 I’ve realised the following bug:
if you use ‘@charset “utf-8″;’ right after your comments at the beginning of your css, chances are the first css entry will not be processed by Safari / Chrome browsers. This had caused annoying 1em margins in all tags in my theme since my first entry is (and has always been) * {margin:0; padding0;}
Removing the line solved the issue beautifully.
No related posts.
css . theme . wordpress






Subscribe to our feed!