Class:Digital Portfolio 2013/Week 3
Jump to navigation
Jump to search
Contents
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.
- How to set up Safari for web inspection.
- Amazing free Code School course on Discovering DevTools
- Quick little Safari Web Inspector Video on YouTube here.
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
CSS Floats
- CSS Floats 101
- CSS Float at w3schools.com
CSS Positioning
- CSS Positioning at w3schools.com
- Learn CSS Positioning in Ten Steps
CSS Overflow
- CSS overflow Property at w3schools.com
- The CSS Overflow Property
The CSS Box Model
- CSS Box Model at w3schools.com
- The CSS Box Model
Video Notes
Section A
- Quick Overview on CSS Styling Unordered Lists
- Using the built in browser tools to help you debug your projects
- What is a CSS reset/normalize and why do we need to love them
- Box Model Overview
- CSS Floats Overview
- CSS Position Overview
- CSS Overflow Overview
- Building a quick gallery using the stuff we learned today
Section B
- Using the built in browser tools to help you debug your projects
- What is a CSS reset/normalize and why do we need to love them
- CSS Floats Overview
- CSS Position Overview
- Further clarification on divs & spans
- CSS Box Model Overview
- Building a quick gallery using the stuff we learned today
Files
- The choppingblock / html-css-demos files will always be posted here from github.com here
- The Section A files that we made in class: SvaMPS-DP_20130520_A.zip
- The Section B files that we made in class: SvaMPS-DP_20130515_B.zip
Assignment
- Prep some of your images for the web using the techniques and tips shown in class.
- Rebuild or replicate (copy) the CSS Sliding Gallery we built in class and get your images in there.
- Style it (with CSS) further or make additional design changes.
- Bring your web project folder to class next week.