Blog Posts

WordPress CSS 1st entry bug (Safari and Chrome)

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.

Share this:
  • Print
  • Facebook
  • Digg
  • del.icio.us
  • StumbleUpon
  • Reddit
  • Google Bookmarks

No related posts.



Leave a Reply