Design To Deployment

103
HELLO FOWD!

description

 

Transcript of Design To Deployment

Page 1: Design To Deployment

HELLO FOWD!

Page 2: Design To Deployment

From Design to Deployment (a day of cheesophile.com)

HICKSDESIGN

Page 3: Design To Deployment

I ♥ CHEESE

Page 4: Design To Deployment

FLAT HICKS ♥ CHEESE

Page 5: Design To Deployment
Page 6: Design To Deployment
Page 7: Design To Deployment
Page 8: Design To Deployment

Breakfast:SET UP!

Page 9: Design To Deployment
Page 10: Design To Deployment

Setup a Local Server

MAMP HEADDRESS

Page 11: Design To Deployment

Morning:CONTENT!

Page 12: Design To Deployment
Page 13: Design To Deployment

h1

Page 14: Design To Deployment

h1h4

Page 15: Design To Deployment

h1

ul

h4

Page 16: Design To Deployment

h1

ul

h2

h4

Page 17: Design To Deployment

h1

ul

h2 h3

h4

Page 18: Design To Deployment

h1

ul

h2h2

h3

h4

Page 19: Design To Deployment

h1

ul

h2h2

h3

h3h4

Page 20: Design To Deployment

h1

ul

h2h2

h3

h3

h3

h4

Page 21: Design To Deployment

h1

ul

h2h2

h3

h3

h3

h2

h4

Page 22: Design To Deployment

h1

ul

h2h2

h4

h3

h3

h3

h2

h4

Page 23: Design To Deployment

h1

ul

h2h2

h4

h4

h3

h3

h3

h2

h4

Page 24: Design To Deployment

content.html

BlogReviewsCheese MapGuidesStockists Directory

News

Little Wallop launches

If you've been watching Alex James…

Page 25: Design To Deployment

content.html<ul> <li><a href="">Blog</a></li> <li><a href="">Reviews</a></li> <li><a href="">Cheese Map</a></li> <li><a href="">Guides</a></li> <li><a href="">Stockists Directory</a></li></ul>

<h2>News</h2>

<h3>Little Wallop launches</h3>

<p>If you've been watching Alex James…

Page 26: Design To Deployment

Doctype

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

HTML 4 Strict

XHTML Transitional

Page 27: Design To Deployment

Page titles

<title>Welcome to Cheesophile!</title>

<title>Little Wallop Launches | News | Cheesophile.com

</title>

Homepage:

Subpage:

Page 28: Design To Deployment

Skip Links

<a href="#content" title="Skip past the navigation" id="skipLink">Skip to the content</a>

Page 29: Design To Deployment
Page 30: Design To Deployment

Afternoon:STYLING!

Page 31: Design To Deployment

j$kGREAT DEBATE!EMS vs PIXELSFLUID vs FIXEDHTML vs FLASH

Page 32: Design To Deployment

Which Browsers to Support?

Page 33: Design To Deployment

h!p://developer.yahoo.com/yui/articles/gbs/

Y! Graded Browser Support

"Support does not mean that everybody gets the same thing. Expecting two users using di"erent browser software to have an identical experience fails to embrace or acknowledge the heterogeneous essence of the Web. "

3 2 9 6 7

Page 34: Design To Deployment
Page 35: Design To Deployment

HTML

CSS

Page 36: Design To Deployment

HTML

basic.css

+

<link rel="stylesheet" href="css/basic.css" type="text/css" media="screen" />

CSS

Page 37: Design To Deployment

HTML

=basic.css

+

<link rel="stylesheet" href="css/basic.css" type="text/css" media="screen" />

CSS

Page 38: Design To Deployment

HTML

<style type="text/css"> @import/**/"css/layout.css";</style>

+

layout

CSS

Page 39: Design To Deployment

typography

HTML

@import url(reset.css);@import url(typography.css);

layout

+reset

CSS

@

@++

Page 40: Design To Deployment

typography

HTML

@import url(reset.css);@import url(typography.css);

layout

+reset =CSS

@

@++

Page 41: Design To Deployment

HTMLtypography

+ reset

layout@

@

@

Page 42: Design To Deployment

HTMLtypography

+ reset

layout@

@

@

<!--[if IE 6]><link href="/css/ie6.css" type="text/css" rel="stylesheet" /><![endif]-->

IE6

CSS

+

Page 43: Design To Deployment

=

HTMLtypography

+ reset

layout@

@

@

<!--[if IE 6]><link href="/css/ie6.css" type="text/css" rel="stylesheet" /><![endif]-->

IE6

CSS

+

Page 44: Design To Deployment

Link to the CSS<link rel="stylesheet" href="css/basic.css" type="text/css" media="screen" />

<!-- comment to stop FOUC in ie6pc -->

<style type="text/css">@import/**/"css/ layout.css";</style>

<!--[if IE 6]><link href="/css/ie6.css" type="text/css" rel="stylesheet" /><![endif]-->

Page 45: Design To Deployment

Reset the CSS/* Eric Meyers Reset CSS rules */html, body, div, span,applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, font, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,dd, dl, dt, li, ol, ul,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; font-weight: inherit; font-style: inherit; font-size: 100%; line-height: 1; font-family: inherit; text-align: left; vertical-align: baseline;}a img, :link img, :visited img { border: 0;}table { border-collapse: collapse; border-spacing: 0;}ol, ul { list-style: none;}q:before, q:after,blockquote:before, blockquote:after { content: "";}

body { font-size: 75%; /* for IE */ font-family: sans-serif; line-height: 1.5em; color: #333; } html>body { font-size: 12px; line-height: 18px;} /* for the rest */

/*typography*/

a { font-weight: bold; color: #000; }a:link { }a:visited { }a:active { }a:hover { text-decoration: underline; }table, thead, tbody, tr, th, td {font-size:1em}

Page 46: Design To Deployment

Snippets

img { border:0; }

input { vertical-align:middle; }

.clear:after { content: "."; display: block; height: 0; clear: both; visibility: hidden;}

Page 47: Design To Deployment
Page 48: Design To Deployment

Typeface Choice

Helvetica,Calibri,Verdana,Arial,Sans-serif

Page 49: Design To Deployment

Typeface Choice

Roquefort, Brie, Red Leicester, Supermarket-Cheddar

Page 50: Design To Deployment

Typeface Choice

Gabriel Coulet Roquefort, Roquefort, Cropwell Bishop Stilton, Stilton,Any-old-Blue-Cheese

Page 51: Design To Deployment

Typeface Choice

Cornish Yarg Cheese

Cornish Yarg CheeseCornish Yarg CheeseCornish Yarg CheeseCornish Yarg Cheese

Page 52: Design To Deployment

Typeface Choice

“HelveticaNeue-Heavy”,“Helvetica 85 Heavy”,Helvetica,Arial,Sans-serif

Page 53: Design To Deployment

Typeface Choice

“HelveticaNeue-Heavy”,“Helvetica 85 Heavy”,Helvetica,Arial,Sans-serif

Page 54: Design To Deployment

Typeface Choice

“HelveticaNeue-Heavy”,“Helvetica 85 Heavy”,Helvetica,Arial,Sans-serif

Page 55: Design To Deployment

Typeface Choice

“HelveticaNeue-Heavy”,“Helvetica 85 Heavy”,Helvetica,Arial,Sans-serif

Page 56: Design To Deployment

CheesophileCheesophile

letter-spacing { -1px; }

Le!er spacing

Page 57: Design To Deployment

Cheesophile has launched

line-height { 1.4em}

Heading Line-Height

Page 58: Design To Deployment

Cheesophile has launched

line-height { 1.2em}

Heading Line-Height

Page 59: Design To Deployment
Page 60: Design To Deployment

Background

Page 61: Design To Deployment

Background

640k

Page 62: Design To Deployment

Background

640k 184k

Page 63: Design To Deployment

Background

640k 184k 72k!!

Page 64: Design To Deployment

Background

68k

Page 65: Design To Deployment
Page 66: Design To Deployment

Styling Skip Links

#skipLink { display: block; padding: 10px 20px; position: absolute; top:0; left: -999px;}

#skipLink:focus { left: 0; }

Page 67: Design To Deployment

Styling Skip Links

Page 68: Design To Deployment

Styling Skip Links

Page 69: Design To Deployment

Two o’clockses:TEA!

Page 70: Design To Deployment

29digital.net/grid/

Page 71: Design To Deployment
Page 72: Design To Deployment

gridlayouts.com

Page 73: Design To Deployment
Page 74: Design To Deployment
Page 75: Design To Deployment

Grid Framework

.column { margin: 0 15px 15px 0;float: left;

}

.last { margin: 0 0 15px 0 ; }

.span1 { width: 60px; }

.span2 { width: 135px; } (etc…)

Page 76: Design To Deployment

Grid Framework

<div class="column span3">…

</div>

<div class="column span4 last">…

</div>

Multiple Classes:

Page 77: Design To Deployment
Page 78: Design To Deployment

Transparent PNGs

8 bit Alpha PNG Transparent GIF

Page 79: Design To Deployment
Page 80: Design To Deployment

Transparent PNGs

Repeated 5x5px 8 bit Alpha PNG

.box { background: none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/img/overlay.png', sizingMethod='crop');}

Page 81: Design To Deployment
Page 82: Design To Deployment
Page 83: Design To Deployment
Page 84: Design To Deployment
Page 85: Design To Deployment

Evening:BUGHUNTING!

Page 86: Design To Deployment
Page 87: Design To Deployment
Page 88: Design To Deployment
Page 89: Design To Deployment
Page 90: Design To Deployment

hasLayout‘hasLayout’ is the key

to understanding all your problems in IE, but what is it?

Page 91: Design To Deployment
Page 92: Design To Deployment
Page 93: Design To Deployment

<div>

Page 94: Design To Deployment

<div>

Page 95: Design To Deployment

<div> hasLayout

Page 96: Design To Deployment

div, li { zoom:1;}

ie6.css

Page 97: Design To Deployment

GOLDEN RULESDon’t be tempted to apply hacks globally with star selector: *

Try and understand the problem before hacking:h!p://www.positioniseverything.net/

Page 98: Design To Deployment

‘POPULAR’ BugsElement missing? Apply position:relative to it.

Floated element with twice the amount of margin? Apply display:inline to it.

Page 99: Design To Deployment
Page 100: Design To Deployment

3px Text Jog

Page 101: Design To Deployment
Page 102: Design To Deployment

Midnight:DEPLOYED!

Page 103: Design To Deployment

hicksdesign.co.uk/journal/ design-to-deploymentcheesophile.com