sign up log in tour help. 1  Tour Start here for a quick overview of the site. 2  Help Center Detailed answers to any questions you might have. 3  Meta Discuss the workings and policies of this site.  About Us Learn more about Stack Overflow the 1  company. Business Learn more about hiring developers or posting ads with  us.
With this set, an image meant to be 5 inches wide at 300dpi will actually display as 5in wide; without this set, the image would display as approximately 15.6in wide since the image is 15000 image pixels across, and by default CSS displays 96 image pixels per inch.
A block-level element with the above CSS would have, at the very least, dimensions of 200Ã200 pixels â even if the element was empty. However, since block-level elements will, by default, naturally expand to fit the available space, only the min-height value would actually have any effect in many cases.