• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 16. Visual Formatting and Detail... > min-width, max-width, min-height and...

16.5. min-width, max-width, min-height and max-height Properties

The min-height and max-height properties work in much the same way as the min-width and max-width properties, by setting the height (vertical) value or the width (horizontal) value for a block element. It is important to note that while you can set the height or width of the box within which an element is contained, the elements contained within the box are not stretched or condensed to fit.

The min-width and max-width properties are designed to enable Web authors to set the smallest and largest possible width values for box elements. You now have control over the minimum and maximum width for any given box element, and can better set how a particular Web element should appear on screen.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint