How to prevent CSS declaration dropped errors cross browser?

守給你的承諾、 提交于 2019-12-03 11:15:38
  1. I'd always put or import IE-specific styles inside a conditonal comment;

  2. as standard CSS FF should be fine with 'font', so just check your syntax e.g. font: bold 12px/30px Georgia, serif; values separated by spaces, multi-word font names in quotes, etc.

If you are using an IE-specific declaration (like filter), put it in an IE-specific stylesheet. It is simple and easy, and I don't really understand why it would be an incovenience (the inconvenience is IE itself).

Hiding an error does not mean the error is solved (and actually if FF shows an error in font it should be taken care of).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!