Movatterモバイル変換


[0]ホーム

URL:


Simon Collison, profile picture
Uploaded bySimon Collison
9,698 views

Developing Your Ultimate Package

The document outlines a set of rules and conventions for HTML, CSS, JavaScript, and ExpressionEngine to streamline project development. It emphasizes the importance of consistency in naming conventions, file organization, and collaborative practices, allowing team members to easily navigate and maintain projects. The package is proprietary, reflecting customizations that suit the specific needs of the organization, with ongoing version control and iterations for improvements.

Embed presentation

Downloaded 447 times
Conventions
http://costumepop.com/costume-buzz/12-costume-fails-from-comic-con/
A base layer of rules andconventions that act as startingpoints for HTML, CSS, JavaScriptand ExpressionEngine forall projects.
•   Basic HTML files & naming conventions•   PHP for basic templates prior to CMS integration.•   CSS: Stylesheets, IE-specific, reset, scratch files etc.•   #
A bumper compendium ofcascading CSS files, namingconventions, modules, plugins andscripts that ensure any project willstay on convention, and be simplefor anyone to step into and workwith at any time.
• Allows better collaboration within the team; the designer  can jump into the developer’s code and vice-versa.• Anyone who hasn’t even worked on a certain project can  jump in and quickly solve problems because everything is  on convention.• Keeps output fresh and ensures use of best practices.• Establishes a thoroughly connected layer of base files  allowing for swift CSS and JavaScript implementation  and other assets.• Makes life easier for developers and designers... and  anyone really• Helps maintain quality control
Iteration
We’re constantly consideringHTML, CSS, browsers, JavaScript,naming conventions, CMS usageand any improvements in generalmethods or implementations.Constant iterations of thepackage are made.
Version control
We’re currently on version 2.2 - and it’savailable internally on our systemswith a changelog, meaning anyone canuse it as a starting point for bothagency and personal projects.
Opening the package
Root
Assets
Stylesheets
Images
JavaScript
HTML templates
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><!-- META --><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="Content-Language" content="en-us" /><meta name="description" content="" /><meta name="author" content="Erskine Design" /><meta name="Copyright" content="" /><!-- TITLE --><title>Home</title><!-- CSS --><link href="assets/css/screen.css" type="text/css" rel="stylesheet" media="screen" /><!--[if IE 6]><link href="assets/css/screen-ie6.css" type="text/css" rel="stylesheet" media="screen" /><![endif]--><!--[if IE 7]><link href="assets/css/screen-ie7.css" type="text/css" rel="stylesheet" media="screen" /><![endif]--><link href="assets/css/print.css" type="text/css" rel="stylesheet" media="print" /><link href="assets/css/mobile.css" type="text/css" rel="stylesheet" media="handheld" /><!-- JS    --><script    type="text/javascript" src="assets/js/jquery-1.3.2.js"></script><script    type="text/javascript" src="assets/js/onload.js"></script><!--[if    IE 6]><script type="text/javascript" src="assets/js/belatedpng-0.0.7a.js"></script><![endif]--><!--[if    IE 6]><script type="text/javascript" src="assets/js/ie6.js"></script><![endif]--><!-- RSS --><!-- FAVICON --><link rel="shortcut icon" href="assets/images/site/favicon.ico" type="image/ico" /></head><body></body></html>
PHP templates
index.php<?php   $section = "home"; ?><?php   $body_class = "home"; ?><?php   $page_title = "Home"; ?><?php   include('_start.php') ?>    Hello<?php include('_end.php') ?>
_start.php (slim version)<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><!-- META --><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="Content-Language" content="en-us" /><meta name="description" content="" /><meta name="author" content="Erskine Design" /><meta name="Copyright" content="" /><!-- TITLE --><title><?php echo("$page_title"); ?></title><!-- CSS --><link href="assets/css/screen.css" type="text/css" rel="stylesheet" media="screen" /><!-- JS --><script type="text/javascript" src="assets/js/jquery-1.3.2.js"></script><script type="text/javascript" src="assets/js/onload.js"></script><!-- RSS --><!-- FAVICON --><link rel="shortcut icon" href="assets/images/site/favicon.ico" type="image/ico" /></head><body class="<?php echo("$body_class"); ?>">
_start.php<title><?php echo("$page_title"); ?></title><body class="<?php echo("$body_class"); ?>">
_end.php  </body>  </html>
Stylesheets
CSS default
/*    [PROJECT] by ERSKINE DESIGN    VERSION 1.0    CONTENTS ----------        1.BODY       2.DEFAULT STYLING       3.HEADINGS       4.LINKS       5.IMAGES       6.LAYOUT       7.BRANDING/MASTHEAD       8.NAVIGATION       9.SITEINFO/FOOTER       [etc]*/
@import url(reset.css); /* RESET CSS */@import url(forms.css); /* FORMS CSS */@import url(scratch.css); /* SCRATCH */
/* 1.BODY---------------------------------------------------------------------- */body { text-shadow:rgba(0,0,0,0.01) 0 0 1px; }a.access { position:absolute; top:-9999px; left:-9999px; font-family:Verdana,sans-serif; font-size:10px; font-weight:bold;background:#eee; border:2px solid #ddd; padding:10px; }a.access:focus { display:block; top:0; left:0; color:#333; }
CSS reset
/*   RESET STYLESHEET*/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, dl, dt, dd, ol, ul, li,fieldset, form, label, legend, table, caption, tbody, tfoot,thead, tr, th, td { margin:0; padding:0; border:0; outline:0;font-weight:inherit; font-style:inherit; font-size:100%; font-family:inherit; vertical-align:baseline; }/* remember to define focus styles! *//*:focus { outline:0; }*/body { line-height:1; color:black; background:white; }ol, ul { list-style:none; }/* tables still need 'cellspacing="0"' in the markup */table { border-collapse:separate; border-spacing:0; }caption,th,td { text-align:left; font-weight:normal; }input { vertical-align:middle; }img { display:block; }
CSS for IE6 & IE7
Conditional comments<!--[if IE 6]><link href="assets/css/screen-ie6.css" type="text/css"rel="stylesheet" media="screen" /><![endif]--><!--[if IE 7]><link href="assets/css/screen-ie7.css" type="text/css"rel="stylesheet" media="screen" /><![endif]-->
/*    [PROJECT] by ERSKINE DESIGN    VERSION 1.0    IE6 OVERRIDE STYLES    CONTENTS ----------    -------------------*/
JavaScript
jQuery
belatedPNG
ie6.js
$(document).ready(function(){      // FORMS      $("input[type='button']").addClass('button');      $("input[type='checkbox']").addClass('checkbox');      $("input[type='file']").addClass('file');      $("input[type='image']").addClass('image');      $("input[type='password']").addClass('password');      $("input[type='radio']").addClass('radio');      $("input[type='submit']").addClass('submit');      $("input[type='text']").addClass('text');      // RSS ICON      $("img[alt='Feed Icon']").addClass('rss_icon');});      // BELATED PNG IMAGE FIXING      DD_belatedPNG.fix('');
onload.js
$(document).ready(function(){             });
Content management
If you like the idea andgeneral approach, you’d doworse than to build your ownpackage.
Our package isn’t publiclyavailable because it is ours -bespoke, custom, built especiallyfor our purposes suiting our needs.
Further reading...•http://colly.com/comments/the_process_toolbox_a_nine_part_epic/•http://erskinelabs.com/post/the-process-toolbox-part-seven-convention/
•   Naming conventions       •   Reset browser defaults•   HTML & XHTML             •   CSS Frameworks•   HTML5 ?                  •   Scratch files•   JavaScript               •   Mobile & Handheld•   jQuery & Libraries       •   Print stylesheets•   PHP                      •   PNG support•   Templating               •   Flash and SWF•   Wireframing              •   Image folders•   IE6, IE7 & IE8           •   Content Management                     Anything else?
Developing Your Ultimate Package

Recommended

PPT
PDF
Grok Drupal (7) Theming - 2011 Feb update
PPTX
Basics of Front End Web Dev PowerPoint
PDF
Highly Maintainable, Efficient, and Optimized CSS
PDF
Be nice to your designers
PDF
Using Core Themes in Drupal 8
PPTX
BDUG Responsive Web Theming - 7/23/12
PDF
How to Prepare a WordPress Theme for Public Release
PDF
CSS framework By Palash
PPTX
Intermediate Web Design
PPTX
About Best friends - HTML, CSS and JS
PDF
The web context
KEY
Html5 Brown Bag
PDF
CSS pattern libraries
PDF
Battle of the Front-End Frameworks: Bootstrap vs. Foundation
PDF
WordPress Theme Structure
PDF
How to create a basic template
 
PPTX
Creating Custom Templates for Joomla! 2.5
PDF
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
PDF
Future-proof styling in Drupal (8)
KEY
2022 HTML5: The future is now
ODP
Drupal Theme Development - DrupalCon Chicago 2011
PPTX
Doing More with LESS for CSS
PPTX
iPhone Web Applications: HTML5, CSS3 & dev tips for iPhone development
PPTX
WordPress Theme Development: Part 2
PPTX
Front End Web Development Basics
ODP
Drupal distributions - how to build them
PDF
新 · 交互
PPT
いちばん簡単なconcrete5テーマ
PPTX
Sql Injection and Entity Frameworks

More Related Content

PPT
PDF
Grok Drupal (7) Theming - 2011 Feb update
PPTX
Basics of Front End Web Dev PowerPoint
PDF
Highly Maintainable, Efficient, and Optimized CSS
PDF
Be nice to your designers
PDF
Using Core Themes in Drupal 8
PPTX
BDUG Responsive Web Theming - 7/23/12
PDF
How to Prepare a WordPress Theme for Public Release
Grok Drupal (7) Theming - 2011 Feb update
Basics of Front End Web Dev PowerPoint
Highly Maintainable, Efficient, and Optimized CSS
Be nice to your designers
Using Core Themes in Drupal 8
BDUG Responsive Web Theming - 7/23/12
How to Prepare a WordPress Theme for Public Release

What's hot

PDF
CSS framework By Palash
PPTX
Intermediate Web Design
PPTX
About Best friends - HTML, CSS and JS
PDF
The web context
KEY
Html5 Brown Bag
PDF
CSS pattern libraries
PDF
Battle of the Front-End Frameworks: Bootstrap vs. Foundation
PDF
WordPress Theme Structure
PDF
How to create a basic template
 
PPTX
Creating Custom Templates for Joomla! 2.5
PDF
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
PDF
Future-proof styling in Drupal (8)
KEY
2022 HTML5: The future is now
ODP
Drupal Theme Development - DrupalCon Chicago 2011
PPTX
Doing More with LESS for CSS
PPTX
iPhone Web Applications: HTML5, CSS3 & dev tips for iPhone development
PPTX
WordPress Theme Development: Part 2
PPTX
Front End Web Development Basics
ODP
Drupal distributions - how to build them
PDF
新 · 交互
CSS framework By Palash
Intermediate Web Design
About Best friends - HTML, CSS and JS
The web context
Html5 Brown Bag
CSS pattern libraries
Battle of the Front-End Frameworks: Bootstrap vs. Foundation
WordPress Theme Structure
How to create a basic template
 
Creating Custom Templates for Joomla! 2.5
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Future-proof styling in Drupal (8)
2022 HTML5: The future is now
Drupal Theme Development - DrupalCon Chicago 2011
Doing More with LESS for CSS
iPhone Web Applications: HTML5, CSS3 & dev tips for iPhone development
WordPress Theme Development: Part 2
Front End Web Development Basics
Drupal distributions - how to build them
新 · 交互

Viewers also liked

PPT
いちばん簡単なconcrete5テーマ
PPTX
Sql Injection and Entity Frameworks
PDF
TYPO3 CMS 7.1 - Die Neuerungen - pluswerk
PDF
TYPO3 CMS 6.2 LTS - Die Neuerungen
PPTX
Google Dorks
PPTX
Google Dorks and SQL Injection
PDF
Real Developer Tools for WordPress by Stefan Didak
PDF
password (facebook)
 
PPT
A portrait chapter_1
PDF
cPanel User Manual
PPT
Introduction Php
PDF
Technote Index Map Help
PDF
concrete5 5.7でテーマ作ってみよう 超初級編
PDF
Xdebug confoo11
PDF
C lipagem tarumã outubro 2010
PPTX
La evolución de los medios de información
PDF
Clipagem tarumã setembro 2010
PDF
C lipagem tarumã maio 2010
PDF
Livestock and Land
いちばん簡単なconcrete5テーマ
Sql Injection and Entity Frameworks
TYPO3 CMS 7.1 - Die Neuerungen - pluswerk
TYPO3 CMS 6.2 LTS - Die Neuerungen
Google Dorks
Google Dorks and SQL Injection
Real Developer Tools for WordPress by Stefan Didak
password (facebook)
 
A portrait chapter_1
cPanel User Manual
Introduction Php
Technote Index Map Help
concrete5 5.7でテーマ作ってみよう 超初級編
Xdebug confoo11
C lipagem tarumã outubro 2010
La evolución de los medios de información
Clipagem tarumã setembro 2010
C lipagem tarumã maio 2010
Livestock and Land

Similar to Developing Your Ultimate Package

PDF
Create a landing page
PDF
Advanced CSS Troubleshooting
PDF
Introduction to Responsive Web Design
PDF
BEM. What you can borrow from Yandex frontend dev
KEY
PDF
3 coding101 fewd_lesson3_your_first_website 20210105
KEY
Team styles
KEY
Ease into HTML5 and CSS3
PPTX
From PSD to WordPress Theme: Bringing designs to life
PPTX
Css for Development
PDF
Yuicss R7
PDF
Advanced CSS Troubleshooting & Efficiency
PDF
Introdução a CSS
PDF
Variations on a Theme
PDF
How browser engines work?
PPTX
Web Service Creation in HTML5
PDF
syllabus
PDF
Mobile and web optimization + Drupal
PPTX
css-note.pptx
KEY
Organizing & Simplifying CSS [with Sass]
Create a landing page
Advanced CSS Troubleshooting
Introduction to Responsive Web Design
BEM. What you can borrow from Yandex frontend dev
3 coding101 fewd_lesson3_your_first_website 20210105
Team styles
Ease into HTML5 and CSS3
From PSD to WordPress Theme: Bringing designs to life
Css for Development
Yuicss R7
Advanced CSS Troubleshooting & Efficiency
Introdução a CSS
Variations on a Theme
How browser engines work?
Web Service Creation in HTML5
syllabus
Mobile and web optimization + Drupal
css-note.pptx
Organizing & Simplifying CSS [with Sass]

More from Simon Collison

PDF
Adaptive Systems
PDF
High Noon Shoot Out - Design
PDF
Elegance Without Compromise
PDF
Old Dog, New Tricks
PDF
Knowing Your Audience
PDF
Project management
PDF
The Business Of Web Design
PDF
Notes from the Edge
PDF
Subconscious Design
PDF
EE: Five Years Of Quiet Revolution
PDF
Design To Communicate
PDF
The Pursuit of Magic
PDF
A Dialect of Our Own Design
KEY
The Process Toolbox
KEY
Nailing Your Own Projects
Adaptive Systems
High Noon Shoot Out - Design
Elegance Without Compromise
Old Dog, New Tricks
Knowing Your Audience
Project management
The Business Of Web Design
Notes from the Edge
Subconscious Design
EE: Five Years Of Quiet Revolution
Design To Communicate
The Pursuit of Magic
A Dialect of Our Own Design
The Process Toolbox
Nailing Your Own Projects

Recently uploaded

PDF
Unlock the Power of Leadership: The Electrolux Manufacturing System (EMS) Way
PDF
Step-by-Step Guide to Buying LinkedIn Accounts in 2026.pdf
PDF
Mobile and Online Banking_ Open an Account Today.pdf
PDF
Top 7 Places to Buy Aged LinkedIn Accounts and Should ....pdf
PDF
how to Buy linkedin Accounts in 2026 .pdf
PDF
Top 10 Websites to Buy Facebook Accounts Tone.pdf
PDF
ASD SCO Introduction December 2025 (1).pdf
PDF
Buy Verified PayPal Accounts Search Intent Analysis for 2025–26.pdf
PDF
How to Buy Snapchat Accounts in 2026 first year .pdf
PDF
Where to Buy Verified Cash App Accounts for Long-term ... (1).pdf
PDF
Pengelolaan SDM Terintegrasi Berbasis Manajemen Risiko 2025
PDF
How to Buy USA Facebook Accounts in 2026 (1).pdf
PDF
24 Best Tiktok Seller Center Services To Buy Online.pdf
PDF
How to Safely Buy Twitter Accounts A Complete Guide in ....pdf
PDF
Buying Snapchat Accounts in 2026 first year.pdf
PDF
How to Buy USA Facebook Accounts in 2026 .pdf
PDF
Step-by-Step Guide to Purchasing USA Facebook ....pdf
PDF
Myocardial Infarction- MI for Nursing Students.pdf
PDF
Christopher Elwell Woburn, MA - An Experienced IT Executive
PDF
LCP-Pension-Submisson-CDC-Superfund-December-2025.pdf
Unlock the Power of Leadership: The Electrolux Manufacturing System (EMS) Way
Step-by-Step Guide to Buying LinkedIn Accounts in 2026.pdf
Mobile and Online Banking_ Open an Account Today.pdf
Top 7 Places to Buy Aged LinkedIn Accounts and Should ....pdf
how to Buy linkedin Accounts in 2026 .pdf
Top 10 Websites to Buy Facebook Accounts Tone.pdf
ASD SCO Introduction December 2025 (1).pdf
Buy Verified PayPal Accounts Search Intent Analysis for 2025–26.pdf
How to Buy Snapchat Accounts in 2026 first year .pdf
Where to Buy Verified Cash App Accounts for Long-term ... (1).pdf
Pengelolaan SDM Terintegrasi Berbasis Manajemen Risiko 2025
How to Buy USA Facebook Accounts in 2026 (1).pdf
24 Best Tiktok Seller Center Services To Buy Online.pdf
How to Safely Buy Twitter Accounts A Complete Guide in ....pdf
Buying Snapchat Accounts in 2026 first year.pdf
How to Buy USA Facebook Accounts in 2026 .pdf
Step-by-Step Guide to Purchasing USA Facebook ....pdf
Myocardial Infarction- MI for Nursing Students.pdf
Christopher Elwell Woburn, MA - An Experienced IT Executive
LCP-Pension-Submisson-CDC-Superfund-December-2025.pdf

Developing Your Ultimate Package

  • 3.
  • 4.
  • 5.
    A base layerof rules andconventions that act as startingpoints for HTML, CSS, JavaScriptand ExpressionEngine forall projects.
  • 6.
    Basic HTML files & naming conventions• PHP for basic templates prior to CMS integration.• CSS: Stylesheets, IE-specific, reset, scratch files etc.• #"https://www.slideshare.net/slideshow/developing-your-ultimate-package/2009317#7">A bumper compendiumofcascading CSS files, namingconventions, modules, plugins andscripts that ensure any project willstay on convention, and be simplefor anyone to step into and workwith at any time.
  • 8.
    • Allows bettercollaboration within the team; the designer can jump into the developer’s code and vice-versa.• Anyone who hasn’t even worked on a certain project can jump in and quickly solve problems because everything is on convention.• Keeps output fresh and ensures use of best practices.• Establishes a thoroughly connected layer of base files allowing for swift CSS and JavaScript implementation and other assets.• Makes life easier for developers and designers... and anyone really• Helps maintain quality control
  • 9.
  • 10.
    We’re constantly consideringHTML,CSS, browsers, JavaScript,naming conventions, CMS usageand any improvements in generalmethods or implementations.Constant iterations of thepackage are made.
  • 11.
  • 12.
    We’re currently onversion 2.2 - and it’savailable internally on our systemswith a changelog, meaning anyone canuse it as a starting point for bothagency and personal projects.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
    <!DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><!-- META --><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="Content-Language" content="en-us" /><meta name="description" content="" /><meta name="author" content="Erskine Design" /><meta name="Copyright" content="" /><!-- TITLE --><title>Home</title><!-- CSS --><link href="assets/css/screen.css" type="text/css" rel="stylesheet" media="screen" /><!--[if IE 6]><link href="assets/css/screen-ie6.css" type="text/css" rel="stylesheet" media="screen" /><![endif]--><!--[if IE 7]><link href="assets/css/screen-ie7.css" type="text/css" rel="stylesheet" media="screen" /><![endif]--><link href="assets/css/print.css" type="text/css" rel="stylesheet" media="print" /><link href="assets/css/mobile.css" type="text/css" rel="stylesheet" media="handheld" /><!-- JS --><script type="text/javascript" src="assets/js/jquery-1.3.2.js"></script><script type="text/javascript" src="assets/js/onload.js"></script><!--[if IE 6]><script type="text/javascript" src="assets/js/belatedpng-0.0.7a.js"></script><![endif]--><!--[if IE 6]><script type="text/javascript" src="assets/js/ie6.js"></script><![endif]--><!-- RSS --><!-- FAVICON --><link rel="shortcut icon" href="assets/images/site/favicon.ico" type="image/ico" /></head><body></body></html>
  • 22.
  • 23.
    index.php<?php$section = "home"; ?><?php $body_class = "home"; ?><?php $page_title = "Home"; ?><?php include('_start.php') ?> Hello<?php include('_end.php') ?>
  • 24.
    _start.php (slim version)<!DOCTYPEhtml PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><!-- META --><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="Content-Language" content="en-us" /><meta name="description" content="" /><meta name="author" content="Erskine Design" /><meta name="Copyright" content="" /><!-- TITLE --><title><?php echo("$page_title"); ?></title><!-- CSS --><link href="assets/css/screen.css" type="text/css" rel="stylesheet" media="screen" /><!-- JS --><script type="text/javascript" src="assets/js/jquery-1.3.2.js"></script><script type="text/javascript" src="assets/js/onload.js"></script><!-- RSS --><!-- FAVICON --><link rel="shortcut icon" href="assets/images/site/favicon.ico" type="image/ico" /></head><body class="<?php echo("$body_class"); ?>">
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
    /* [PROJECT] by ERSKINE DESIGN VERSION 1.0 CONTENTS ---------- 1.BODY 2.DEFAULT STYLING 3.HEADINGS 4.LINKS 5.IMAGES 6.LAYOUT 7.BRANDING/MASTHEAD 8.NAVIGATION 9.SITEINFO/FOOTER [etc]*/
  • 30.
    @import url(reset.css); /*RESET CSS */@import url(forms.css); /* FORMS CSS */@import url(scratch.css); /* SCRATCH */
  • 31.
    /* 1.BODY---------------------------------------------------------------------- */body{ text-shadow:rgba(0,0,0,0.01) 0 0 1px; }a.access { position:absolute; top:-9999px; left:-9999px; font-family:Verdana,sans-serif; font-size:10px; font-weight:bold;background:#eee; border:2px solid #ddd; padding:10px; }a.access:focus { display:block; top:0; left:0; color:#333; }
  • 32.
  • 33.
    /*RESET STYLESHEET*/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, dl, dt, dd, ol, ul, li,fieldset, form, label, legend, table, caption, tbody, tfoot,thead, tr, th, td { margin:0; padding:0; border:0; outline:0;font-weight:inherit; font-style:inherit; font-size:100%; font-family:inherit; vertical-align:baseline; }/* remember to define focus styles! *//*:focus { outline:0; }*/body { line-height:1; color:black; background:white; }ol, ul { list-style:none; }/* tables still need 'cellspacing="0"' in the markup */table { border-collapse:separate; border-spacing:0; }caption,th,td { text-align:left; font-weight:normal; }input { vertical-align:middle; }img { display:block; }
  • 34.
  • 35.
    Conditional comments<!--[if IE6]><link href="assets/css/screen-ie6.css" type="text/css"rel="stylesheet" media="screen" /><![endif]--><!--[if IE 7]><link href="assets/css/screen-ie7.css" type="text/css"rel="stylesheet" media="screen" /><![endif]-->
  • 36.
    /* [PROJECT] by ERSKINE DESIGN VERSION 1.0 IE6 OVERRIDE STYLES CONTENTS ---------- -------------------*/
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
    $(document).ready(function(){ // FORMS $("input[type='button']").addClass('button'); $("input[type='checkbox']").addClass('checkbox'); $("input[type='file']").addClass('file'); $("input[type='image']").addClass('image'); $("input[type='password']").addClass('password'); $("input[type='radio']").addClass('radio'); $("input[type='submit']").addClass('submit'); $("input[type='text']").addClass('text'); // RSS ICON $("img[alt='Feed Icon']").addClass('rss_icon');}); // BELATED PNG IMAGE FIXING DD_belatedPNG.fix('');
  • 42.
  • 43.
  • 44.
  • 46.
    If you likethe idea andgeneral approach, you’d doworse than to build your ownpackage.
  • 47.
    Our package isn’tpubliclyavailable because it is ours -bespoke, custom, built especiallyfor our purposes suiting our needs.
  • 48.
  • 50.
    Naming conventions • Reset browser defaults• HTML & XHTML • CSS Frameworks• HTML5 ? • Scratch files• JavaScript • Mobile & Handheld• jQuery & Libraries • Print stylesheets• PHP • PNG support• Templating • Flash and SWF• Wireframing • Image folders• IE6, IE7 & IE8 • Content Management Anything else?

[8]ページ先頭

©2009-2025 Movatter.jp