This document discusses responsive web design techniques including flexible grids, flexible images using max-width, and media queries. A flexible grid uses relative units like percentages and em instead of pixels to resize and reflow content depending on screen size. Flexible images are made responsive using max-width: 100% so they scale down but not up. Media queries allow applying different CSS styles depending on common device breakpoints like mobile versus desktop.
20. How?
in html...
<link rel="stylesheet" type="text/css" media="screen and
(max-device-width: 480px)" href="shetland.css" />
in css... media type media query
@media screen and (max-device-width: 480px) { ... }
@import url("shetland.css") screen and (max-device-width: 480px);
21. Media feature
width device-aspect-ratio
height color
device-width color-index
device-height monochrome
orientation resolution
aspect-ratio scan
grid