Home > 网站建设 > firefox和ie解释图片大小的不同

firefox和ie解释图片大小的不同

firefox对待图片大小先于css,后来才是img的本身属性

而ie正好相反,先是img的本身属性

如果img和css中的width和hight有问题,在ff和ie中看到的效果就不一样。

Categories: 网站建设 Tags:
  1. April 21st, 2008 at 10:43 | #1

    可是我们很少使用 HTML 或者 CSS 来修改图片尺寸再呈现啊……
    这样有损画质,代码也会累赘的。

  2. humker
    April 21st, 2008 at 12:41 | #2


    一般的cms缩略图大小标准要跟模板想对应。

  1. No trackbacks yet.

Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).