7. Terminology
0 Adaptive web design
0 Coined by Aaron Gustafson
0 Content will change to fit a predefined set of screen
sizes
0 Media queries are core
0 Responsive web design
0 Coined by Ethan Marcotte
0 Content will fluidly change to fit any screen or device
0 Media queries are a part, but pages more fluid
18. Retrofit Existing Websites
Pro Con
0 Single code base
0 One URL @ page
0 Adapts to various
screen sizes
0 May have heavy,
slow loading pages
0 May have to make
significant changes
to existing websites
0 Often have to
decide what to
leave out for
phones
20. Media Queries
0 Typically write CSS for desktop, tablet, phone
0 If starting anew – think mobile first (limited space and
UX)
0 Have to create separate CSS documents
<!– Phone ‐‐>
<link href="phone.css" rel="stylesheet" type="text/css" media="only
screen and (max‐width:320px)">
<!‐‐ Tablet ‐‐>
<link href="tablet.css" rel="stylesheet" type="text/css" media="only
screen and (min‐width:321px) and (max‐width:768px)">
<!‐‐ Desktop ‐‐>
<link href="desktop.css" rel="stylesheet" type="text/css"
media="only screen and (min‐width:769px)">