Your location:Tech News>News>Script>Solution in ie6, the gap appears below the picture

Latest News

Solution in ie6, the gap appears below the picture

Author:fsadmin

Views:

  Since different browsers, we use div + css layout, you will inevitably encounter a lot of problems.In ie6, the picture will appear below the excess gap.

  How to solve this problem? In fact, to solve this problem there are many ways.The float may be provided image properties float: left / right, or to convert the picture to a block-level image of the display: block, html form or change the layout, or the font size of the parent container to 0, font-size: 0.Image or set of vertical alignment vertical-align: top, middle, bottom, text-bottom.And other methods to solve this problem.

Recommend article

Relate article