ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
HELLO FOWD!
HICKSDESIGN


From Design to
Deployment
(a day of cheesophile.com)
I ? CHEESE
FLAT HICKS ? CHEESE
Design To Deployment
Design To Deployment
Design To Deployment
Breakfast:
SET UP!
Design To Deployment
Setup a Local Server




  MAMP         HEADDRESS
Morning:
CONTENT!
Design To Deployment
h1
h1
     h4
h1
     h4


ul
h2
h1
     h4


ul
h2   h3
h1
     h4


ul
h2   h3
                    h2
h1
     h4


ul
h2   h3
                         h2
h1                  h3
     h4


ul
h2   h3
                         h2
h1                  h3
     h4

                    h3
ul
h2   h3
                         h2
h1                  h3
     h4

                    h3
ul

                         h2
h2   h3
                              h2
h1                       h3
     h4

                         h3
ul

                              h2



          h4
h2   h3
                              h2
h1                       h3
     h4

                         h3
ul

                              h2



          h4

          h4
content.html

Blog
Reviews
Cheese Map
Guides
Stockists Directory



News

Little Wallop launches

If you've been watching Alex James¡­
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¡­
Doctype
HTML 4 Strict
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
4.01//EN" "http://www.w3.org/TR/html4/
strict.dtd">

XHTML Transitional
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.0 Transitional//EN" "http://www.w3.org/
TR/xhtml1/DTD/xhtml1-transitional.dtd">
Page titles
Homepage:
<title>Welcome to Cheesophile!</title>



Subpage:
<title>
       Little Wallop Launches | News |
       Cheesophile.com
</title>
Skip Links

<a href="#content"
   title="Skip past the navigation"
   id="skipLink">
Skip to the content
</a>
Design To Deployment
Afternoon:
STYLING!
j$k
GREAT DEBATE!
EMS vs PIXELS
FLUID vsFLASH
HTML vs
        FIXED
Which Browsers to Support?
Y! Graded Browser Support
     3          2           9         6           7



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

http://developer.yahoo.com/yui/articles/gbs/
Design To Deployment
HTML




CSS
HTML



  +
  CSS


basic.css

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



  +
  CSS
            =
basic.css

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



  +
 CSS

 layout

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



  +
         +   @   reset


 CSS     +   @   typography

layout

@import url(/slideshow/design-to-deployment/363504/reset.css);
@import url(/slideshow/design-to-deployment/363504/typography.css);
HTML



  +
         +   @   reset


 CSS     +   @   typography
                              =
layout

@import url(/slideshow/design-to-deployment/363504/reset.css);
@import url(/slideshow/design-to-deployment/363504/typography.css);
@ layout

HTML
       +   @ reset
           @ typography
@ layout

 HTML
           +     @ reset
                 @ typography


  +
  CSS

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

 HTML
           +     @ reset
                 @ typography


  +
  CSS      =
   IE6
<!--[if IE 6]>
<link href="/css/ie6.css" type="text/css" rel="stylesheet" />
<![endif]-->
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]-->
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%;
Snippets

img { border:0; }

input { vertical-align:middle; }

.clear:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
Design To Deployment
Typeface Choice

    Helvetica,
    Calibri,
    Verdana,
    Arial,
    Sans-serif
Typeface Choice


    Roquefort,
    Brie,
    Red Leicester,
    Supermarket-Cheddar
Typeface Choice

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

Cornish Yarg Cheese
Cornish Yarg Cheese
Cornish Yarg Cheese
Cornish Yarg Cheese
Cornish Yarg Cheese
Typeface Choice

    ¡°HelveticaNeue-Heavy¡±,
    ¡°Helvetica 85 Heavy¡±,
    Helvetica,
    Arial,
    Sans-serif
Typeface Choice

    ¡°HelveticaNeue-Heavy¡±,
    ¡°Helvetica 85 Heavy¡±,
    Helvetica,
    Arial,
    Sans-serif
Typeface Choice

    ¡°HelveticaNeue-Heavy¡±,
    ¡°Helvetica 85 Heavy¡±,
    Helvetica,
    Arial,
    Sans-serif
Typeface Choice

    ¡°HelveticaNeue-Heavy¡±,
    ¡°Helvetica 85 Heavy¡±,
    Helvetica,
    Arial,
    Sans-serif
Letter spacing


Cheesophile
Cheesophile
letter-spacing { -1px; }
Heading Line-Height


Cheesophile
has launched
line-height { 1.4em}
Heading Line-Height


Cheesophile
has launched
line-height { 1.2em}
Design To Deployment
Background
Background




640k
Background




640k     184k
Background




640k     184k   72k!!
Background




             68k
Design To Deployment
Styling Skip Links

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

#skipLink:focus { left: 0; }
Styling Skip Links
Styling Skip Links
Two o¡¯clockses:
TEA!
29digital.net/grid/
Design To Deployment
gridlayouts.com
Design To Deployment
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¡­)
Grid Framework
Multiple Classes:

<div class="column span3">
    ¡­
</div>

<div class="column span4 last">
    ¡­
</div>
Design To Deployment
Transparent PNGs




8 bit Alpha PNG    Transparent GIF
Design To Deployment
Transparent PNGs
  Repeated 5x5px 8 bit Alpha PNG



  .box {
    background: none;
  filter:progid:DXImageTransform.Micros
  oft.AlphaImageLoader(src=/slideshow/design-to-deployment/363504/&
  overlay.png',
    sizingMethod='crop');
  }
Design To Deployment
Design To Deployment
Design To Deployment
Design To Deployment
Evening:
BUGHUNTING!
Design To Deployment
Design To Deployment
Design To Deployment
Design To Deployment
hasLayout
    ¡®hasLayout¡¯ is the key
  to understanding all your
problems in IE, but what is it?
Design To Deployment
Design To Deployment
<div>
<div>
<div>   hasLayout
ie6.css
div, li {
    zoom:1;
}
GOLDEN RULES
  Don¡¯t be tempted to apply hacks
  globally with star selector: *
  Try and understand the problem
  before hacking:
  http://www.positioniseverything.net/
¡®POPULAR¡¯ Bugs
  Element missing?
  Apply position:relative to it.
  Floated element with twice the
  amount of margin?
  Apply display:inline to it.
Design To Deployment
3px Text Jog
Design To Deployment
Midnight:
DEPLOYED!
hicksdesign.co.uk/journal/
  design-to-deployment
cheesophile.com

More Related Content

Design To Deployment