Cascading Style Sheets 2

Slides:



Advertisements
Similar presentations
Table, List, Blocks, Inline Style
Advertisements

Intro To Cascading Style Sheets By Mario Yannakakis.
CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
/k/k 1212 Cascading Style Sheets Part one Marko Boon
1 Cascading Style Sheets™ (CSS) Outline 5.1 Introduction 5.2 Inline Styles 5.3 Embedded Style Sheets 5.4 Conflicting Styles 5.5 Linking External Style.
CSS Digital Media: Communication and design 2007.
Introducing CSS CIS 133 mashup Javascript, jQuery and XML 1.
Web Standards XHTML and CSS. Today’s Show ► Discuss web standards ► XHTML ► Layout Without Tables ► CSS ► Why Web Standards?
Adding styles. Three alternatives HIT151 Web 'n' Net Web Page Basics /*stylesheet*/ h1,h2,h3 { font-family: verdana, arial, 'sans serif'; } p,table,li.
Very quick intro HTML and CSS. Sample html A Web Title.
Cascading Style Sheets. CSS stands for Cascading Style Sheets and is a simple styling language which allows attaching style to HTML elements. CSS is a.
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
HyperText Markup Language (HTML) Uses plain text to add markup instructions to a file. If you can't produce it with a standard keyboard, it can't go into.
Cascading Style Sheets Basics. Why use Cascading Style Sheets? Allows you to set up a series of rules for all pages in a site. The series may be changed.
Cascading Style Sheets By: Valerie Kuna. What are Cascading Style Sheets? Cascading Style Sheets (CSS) are a standard for specifying the presentation.
© 2004, Robert K. Moniot Chapter 6 CSS : Cascading Style Sheets.
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
Advance CSS (Menu and Layout) Miftahul Huda. CSS Navigation MENU It's truly remarkable what can be achieved through CSS, especially with navigation menus.
CSS BASICS. CSS Rules Components of a CSS Rule  Selector: Part of the rule that targets an element to be styled  Declaration: Two or more parts: a.
Building a Website: Cascading Style Sheets (CSS) Fall 2013.
Cascading Style Sheets Based on Castro, HTML for the WWW, 6 th edition Ron Gerton, Fall 2007.
Cascading Style Sheet CSS CS1520 Ali Alanjawi. 2 TA Information Ali Alanjawi Homepage: Office:
Recognizing the Benefits of Using CSS 1. The Evolution of CSS CSS was developed to standardize display information CSS was slow to be supported by browsers.
กระบวนวิชา CSS. What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to.
Unit 20 - Client Side Customisation of Web Pages
Web Design with Cascading Style Sheet Lan Vu. Overview Introduction to CSS Designing CSS Using Visual Studio to create CSS Using template for web design.
Principles of Web Design 6 th Edition Chapter 4 – Cascading Style Sheets.
Week 4.  Three ways to apply CSS: Inline CSS Internal style sheets ( header style information) External style sheets.
Cascading Style Sheets CSS.  Standard defined by the W3C  CSS1 (released 1996) 50 properties  CSS2 (released 1998) 150 properties (positioning)  CSS3.
Cascading Style Sheets. Defines the presentation of one or more web pages Similar to a template Can control the appearance of an entire web site giving.
CSS Tutorial 1 Introduction Syntax How to use style specifications. Styles.
Web Development 101 Presented by John Valance
Cascading Style Sheets Level 2. Course Objectives, Session 1 Level 1 Quick Review Chapter 8: Adding Graphics to Web Pages Chapter 9: Sprucing Up Your.
Cascading Style Sheets
Cascading Style Sheets CSS.  Standard defined by the W3C  CSS1 (released 1996) 50 properties  CSS2 (released 1998) 150 properties (positioning)  CSS3.
Cascading Style Sheets Primary readings Presentations Explain & review projects with class mates.
1 Cascading Style Sheets
WebD Introduction to CSS By Manik Rastogi.
Cascading Style Sheets
Web Development & Design Foundations with XHTML
CS3220 Web and Internet Programming CSS Basics
Style Sheets.
The Internet 10/11/11 Fonts and Colors
Cascading Style Sheets
Cascading Style Sheets
Cascading Style Sheets
Web Development & Design Foundations with HTML5
Cascading Style Sheets
IS 360 Declaring CSS Styles
Cascading Style Sheets
Cascading Style Sheets
Cascading Style Sheets
Cascading Style Sheets
Web Protocols, Technologies and Applications
What are Cascading Stylesheets (CSS)?
The Internet 10/6/11 Cascading Style Sheets
Cascading Style Sheets
Web Development & Design Foundations with H T M L 5
Web Programming Language
CS3220 Web and Internet Programming CSS Basics
Part 1: Cascading Style Sheets
Introduction to CSS.
CS3220 Web and Internet Programming CSS Basics
Creating your own Styles
Cascading Style Sheets
Cascading Style Sheets
Cascading Style Sheets
Cascading Style Sheets
Introduction to Cascading Style Sheets (CSS)
Presentation transcript:

Cascading Style Sheets 2 Schmitt, C. (2002). Designing CSS Web Pages: Chapters 3-5 Zeldman, J. (2003). Designing With Web Standards: Chapter 16 Project Plan User Stories Templates Presentations Alumni Committee Visit Presentation Development work

Setting Up Styles Examine existing style sheets (if any) Look at page(s) with & without styles Types of style selectors: Generic - HTML Descendants - associated elements Child - inherited Adjacent Sibling - similar, but specific Universal - all elements Class- “class” attribute ID - “if” attribute You can see a lot of this here - http://www.newmanic.com/css-overview.asp

iSchool.css .nav { color: #6699CC; font-size: 12px; font-family: Arial, Helvetica, sans-serif; text-decoration: none} .nav:hover { color: #FF9933; font-size: 12px; font-family: Arial, Helvetica, sans-serif; text-decoration: underline} .nav_selected { font-family: Arial, Helvetica, sans-serif; font-weight: bold; color: #FF9933; font-size: 12px; text-decoration: none} .external_link { font-style: italic } h1 { font-size: 20px; font-family: Arial, Helvetica, sans-serif; font-weight: normal; color: #FF9933} h2 { font-size: 16px; font-family: Arial, Helvetica, sans-serif; font-weight: normal} h3 { font-size: 14px; font-family: Arial, Helvetica, sans-serif; font-weight: bold} h3 { font-family: Arial, Helvetica, sans-serif; font-weight: bold} a { color: #6699CC } a:hover { color: #FF9933 } .external { font-style: italic } td { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #333333} th { font-family: Arial, Helvetica, sans-serif; font-size: 12px} p { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #333333} body { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #333333} .page_title { font-size: 22px; color: #FF9933; font-family: Arial, Helvetica, sans-serif} .title {font-size: 22px; color: #6699CC; font-family: Arial, Helvetica, sans-serif; text-decoration: none} .title:hover {font-size: 22px; color: #FF9933; font-family: Arial, Helvetica, sans-serif; text-decoration: none} ul { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #333333 } ol { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #333333 } li { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #333333}

Calling and Referencing CSS iSchool <link rel="stylesheet" href="/ischool.css" type="text/css"> <link rel=“StyleSheet” href=“/styles/style1.css” type=“text/css” media=“all” /> <style type=“text/css” media=“all”> @import url(“/styles/style1.css”);</style> @import only works in 5.0+ browsers: useful for customizing for newer browsers You could link to styles on other sites (url)

How do we want to cascade? Multiple css? Per page type? How many columns? What design style? No tables at all? Printing for reference vs. viewing online Validating styles and markup

CSS Tools CSS Edit Dreamweaver StyleMaster (Win & Mac) Text editors

Dynamic HTML What interactivity do we need? Marking sites, ecommerce sites vs. informational sites Integrating JavaScript into the design Menus Forms Sorting course listings Site Maps What Else?