topical media & game development

talk show tell print

basic-web-html-07-ch07-eg27.htm / htm



  <?xml version="1.0" ?>
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  
  <head>
    <title>max-width and min-width</title>
    <link rel="stylesheet" type="text/css" href="basic-web-html-07-ch07-eg27.css" />
  </head>
  
  <body>
  
  <div>If you want to create parts of pages that stretch and shrink to fit the size of users' screens, then the max-width and min-width properties are very useful because they allow you to create boxes that can change in size. The max-width property will stop a box being so wide that it is hard to read (lines that are too long are harder to read on screens), and min-width will help prevent boxes being so narrow that they are un readable.</div>
  
  </body>
  </html>
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.