Style Your Site Part 2

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    Style Your Site Part 2 - Presentation Transcript

    1. Style Your Site A Comprehensive CSS Design Tutorial Ben MacNeill User Interface Designer, eXtension at NCSU http://commons.wikimedia.org/wiki/File:SkeletonsNumbers.png
    2. Why Use CSS? document document content presentation
    3. Some real reasons • Accessibility (Section 508 anyone?) • Reduce complexity/repetition in the markup • The Cosmetic stuff is all in one place. Global design changes are easy. • Your content is more portable for mobile devices, feed readers, printing • It's not 1999
    4. Simple, semantic html markup creates good structure Laying the Ground Work
    5. First Session • Fixed-width layout • Flexible, bulletproof text-based navigation • Light design styling • Print stylesheet (if time)
    6. Second Session The Enhancing • CSS-based image sprites & background images • Fluid layout • Font control • CSS reset stylesheet • Convert form to semantic markup and style it • Mobile stylesheet for the iPhone
    7. Let’s Go to the Browser
    8. Adding CSS • Link <link rel=\"stylesheet\" type=\"text/css\" href=\"styles.css\" media=\"screen\" /> • Embed <style media=\"screen\" type=\"text/css\"> add style rules here... </style> • Inline <p style=\"color:red;\"> • Import into CSS @import \"styles.css\";
    9. Tools & Testing • Firebug http://getfirebug.com/ • Web Developer Toolbar by Chris Pederick (Firefox) http://chrispederick.com/work/web-developer/ • Target: Firefox > Safari > IE8 > IE7
    10. Tip: Firebug can help with the Box Model
    11. • CSS Selectors Cheat Sheet: www.cameronmoll.com/articles/widget/cheatsheet.pdf
    12. • Better Font Stack: http://unitinteractive.com/blog/2008/06/25/better-css-font-stacks/
    13. August 27, 2001 IE6 released 8 http://www.stopie6.org/
    14. Thanks! Ben MacNeill User Interface Designer, eXtension at NCSU ben.macneill@extension.org Slides and zipped Code examples: http://www.slideshare.net/chillnc http://drop.io/benmacneill My CSS bookmarks: http://del.icio.us/chillnc/css

    + Ben MacNeillBen MacNeill, 5 months ago

    custom

    253 views, 1 favs, 0 embeds more stats

    (Part 2 of 2) Cascading Style Sheets (CSS) control more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 253
      • 253 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 6
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories