Difference between revisions of "Class:Digital Portfolio 2013/Week 3"

From wiki.mpsdigitalphoto.com
Jump to navigation Jump to search
(→‎Your Browser is a Web Inspector)
(→‎Notes)
Line 32: Line 32:
 
* The [http://meyerweb.com/eric/tools/css/reset/ Reset CSS]
 
* The [http://meyerweb.com/eric/tools/css/reset/ Reset CSS]
 
* The [http://necolas.github.io/normalize.css/ Normalize CSS]
 
* The [http://necolas.github.io/normalize.css/ Normalize CSS]
 +
 +
=== CSS Cheat Sheet ===
 +
 +
; Spans and divs are TAGS
 +
: Just like <h1>, <img>, <ul>
 +
 +
; All tags can optionally have attributes of type class or ID
 +
: <div class="header"> is styled in CSS using .header
 +
: <div id="header"> is styled in CSS using #header
 +
: <h1 class="highlight"> is styled in CSS using .highlight
  
 
== Video Notes ==
 
== Video Notes ==

Revision as of 20:09, 17 May 2013

Last Week

  • Prepping Images for the Web
  • Tools: Text Editors
  • HTML / CSS Review

This Week

  • Browser Develop Tools
  • Divs & Spans -vs- classes & ID's
  • CSS Normalized
  • CSS Floats
  • CSS Position
  • CSS Offset
  • CSS Sliding Gallery

Notes

Your Browser is a Web Inspector

Believe it or not, the browser that you are using to read this page, is also the best toolkit to use for debugging your projects. Both Safari and Chrome have fantastic built in Web Inspectors and there is a plugin for Firefox called firebug.

Clearing your CSS Slate Before' You Start

The goal of a reset stylesheet is to reduce browser inconsistencies in things like default line heights, margins and font sizes of headings, and so on.

CSS Cheat Sheet

Spans and divs are TAGS
Just like <h1>, <img>, <ul>
All tags can optionally have attributes of type class or ID
<div class="header"> is styled in CSS using .header
<div id="header"> is styled in CSS using #header
<h1 class="highlight"> is styled in CSS using .highlight

Video Notes

Section B

Files

To be posted.

Assignment

To be posted, mentioned in video.