Set the width and height of the css file in the head tag. Why do you set the width and height of the img in the body tag?
If you want the images in the entire body to have the same height, then the code should be
img{ height:100px; }
If it is a picture under a certain element, the code should be
元素 img{ height:100px; }
Learn CSS selectors carefully Course http://www.php.cn/code/26580.html
If you want the images in the entire body to have the same height, then the code should be
If it is a picture under a certain element, the code should be
Learn CSS selectors carefully Course http://www.php.cn/code/26580.html