Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
好的,我已经使用了很长一段时间的重置 CSS 文件并且它们通常都可以工作,但是自从我开始使用 CodeIgniter (我认为这与它没有任何关系)之后,div's 周围的空格已经下落不明并在 Firefox、Safari 和 Chrome 中持久存在。我截取了我正在谈论的内容的屏幕截图(橙色箭头指向它):
div
任何帮助将不胜感激。就像我说的,CSS 重置似乎不起作用。
添加display: block;到 img 它将删除额外的空白检查结果
display: block;
我还尝试了firebug和mozilla webdeveloper 工具,它们是很棒的工具