By Jonathan French. What is CSS? Cascading Style Sheet Style sheet language Used for the look and formatting of a document written in a markup language.

Slides:



Advertisements
Similar presentations
Ideas to Layout Beginning web layout using Cascading Style Sheets (CSS). Basic ideas, practices, tools and resources for designing a tableless web site.
Advertisements

Getting a Taste of Cascading Stylesheets Steve Mooradian December 14, 2005.
It’s All About Style The Basics of Style Sheets Presented by Barry Diehl.
CNIT 133 Interactive Web Pags – JavaScript and AJAX Review CSS.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Using Cascading Style Sheets CSS Basics. Goals Understand basic syntax of Cascading Style Sheets (CSS) Understand basic syntax of Cascading Style Sheets.
Cascading Style Sheets Controlling the Display Of Web Content.
XP 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
The.htm/.html Mystery When saving the template files in Internet Explorer, they will be named.htm by default. To be consistent with how the code was written.
Working with Cascading Style Sheets. 2 Objectives Introducing Cascading Style Sheets Using Inline Styles Using Embedded Styles Using an External Style.
XML October 24, Unit 6. What is XML? Stands for eXtensible Markup Language It is a markup language, like HTML But, –XML is designed to markup data –HTML.
Developing a Basic Web Page with HTML
Chapter 14 Introduction to HTML
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Web Design Basic Concepts.
Review HTML  What is HTML?  HTML is a language for describing web pages.  HTML stands for Hyper Text Markup Language  HTML is not a programming language,
Cascading Style Sheet. What is CSS? CSS stands for Cascading Style Sheets. CSS are a series of instruction that specify how markup elements should appear.
Creating a Simple Page: HTML Overview
School of Computing and Information Systems CS 371 Web Application Programming HTML The language of the Web.
HTML 5 New Standardization of HTML. I NTRODUCTION HTML5 is The New HTML Standard, New Elements New Attributes Full CSS3 Support Video and Audio 2D/3D.
What is Web Design?  Web design is the creation of a Web page using hypertext or hypermedia to be viewed on the World Wide Web.
Working with Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of a document.
XP Tutorial 7New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks.
HTML Structure & syntax
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
Cascading Style Sheets CSS by Pavlovic Nenad by. 2Cascading Style Sheets Presentation Contents What are CSS? What are CSS? History of CSS History of CSS.
INTRODUCTION TO CSS. OBJECTIVES: D EFINE WHAT CSS IS. K NOW THE HISTORY OF CSS. K NOW THE REASON WHY CSS IS USED. CSS SYNTAX. CSS ID AND CLASS.
Cascading Style Sheets: Got Branding?. What is CSS? CSS = Cascading Style Sheets Styles define how HTML (web) elements are displayed. One (or more) style.
Introduction to HTML Tutorial 1 eXtensible Markup Language (XML)
Internet Web Publishing III. Intro to Cascading Style Sheets Patricia Roberts.
XHTML and Style. History of the Internet Internet has been around since the early 1960’s as part of a program with universities and the US government.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 7.
© 2011 Delmar, Cengage Learning Chapter 8 Using Styles and Design Style Sheets for Design.
Cascading Style Sheets Part 1. CSS vs HTML HTML: Originally intended to markup structure of a document (,...,,,,,...) CSS Developing technology, CSS1,
XHTML and CSS Session 1 Intro, (X)HTML, CSS, W3C, browsers, webpage, structure, tags, attributes, elements, web development process, basic XHTML elements.
XHTML By Trevor Adams. Topics Covered XHTML eXtensible HyperText Mark-up Language The beginning – HTML Web Standards Concept and syntax Elements (tags)
Session: 1. © Aptech Ltd. 2Introduction to the Web / Session 1  Explain the evolution of HTML  Explain the page structure used by HTML  List the drawbacks.
CSS : Cascading Style Sheets Ann Dobbs Class: i385e.
UPLOAD / DOWNLOAD april  HTML5 is just the next iteration of HTML  Previous version was technically HTML 4.01, which incorporated XHTML 1.0.
Cascading Style Sheets CSS. Source W3Schools
XP Review 2 New Perspectives on JavaScript, Comprehensive1 Introducing Cascading Style Sheets Formatting Web Pages with CSS.
Web Technologies Lecture 2 HTML and CSS. HTML Hyper Text Markup Language – Describes web documents – Made up of nested HTML markup tags – Tags are the.
CNIT 132 – Week 4 Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of.
Cascading Style Sheets
Asstt. Prof Sonia Sharma Computer Dept 1 HTML ( Hypertext MarkUP Language ) HTML is the lingua franca for publishing hypertext on the World Wide Web.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 2: Markup Language and Site Development Essentials © 2007 Prosoft Learning Corporation All.
CSS Hadas Kahsay. Overview  What is CSS  Basic syntax of CSS Rules  How to link CSS style to html documents  Browsers and CSS  Advantages of CSS.
Kyle Zimmermann.  What are CSS?  History  The Box Model  CSS Styles  Rules and Selectors  Cascade & Specificity  Inheritance  Video  Demo.
Cascading Style Sheets (CSS) EXPLORING COMPUTER SCIENCE – LESSON 3-5.
Introduction to Programming the WWW I CMSC Summer 2003 Lecture 6.
IT Accessibility Committee Cascading Style Sheets Presented by Michael B. Short Prepared by The NYS Forum IT Accessibility Committee
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML.
XP Tutorial 7New Perspectives on HTML and XHTML, Comprehensive 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
CSS Cascading Style Sheets Prepared By
1 Cascading Style Sheet (CSS). 2 Cascading Style Sheets (CSS)  a style defines the appearance of a document element. o E.g., font size, font color etc…
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
Working with Cascading Style Sheets
Cascading Style Sheets (CSS)
Project 1 Introduction to HTML.
Getting Started with CSS
Cascading Style Sheets
CX Introduction to Web Programming
Project 1 Introduction to HTML.
Cascading Style Sheets
Why use Web Standards?.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Presentation transcript:

By Jonathan French

What is CSS? Cascading Style Sheet Style sheet language Used for the look and formatting of a document written in a markup language Applied to any kind of XML document such as: Plain XML (POX) Scalable Vector GraphicsScalable Vector Graphics or SVG, Class ProjectSVGClass Project XML User Interface Markup LanguageXML User Interface Markup Language or XUL HTML and XHTML

CSS Formatting Formatting codeFormatting code, cleaning up CSScleaning up CSS Validating code

CSS Placement Internal or Embedded Style Inline Style External Style

Internal or Embedded Style

Inline Style

External Style HTML Doc Style Sheet

History of CSS HTML - desire to separate structure from layout The saga of CSS begins Hakon Wium Lie first proposed CSS Bert Bos’s proposal was influential and later regarded as co-founder of CSS While being presented at a Web conference in Chicago CSS was perceived as too simple for the task 1996-After a few years of fighting, CSS 1 emerged as a W3C Recommendation CSS2 released CSS3 released

W3C World Wide Web Consortium Founded in 1994 by Tim Berners-Lee International community of member organizations, staff, and the public to develop web standards Led by Tim Berners-Lee and Jeffrey Jaffe Mission: to lead the Web to its full potential

CSS Versions CSS 1 Supports font properties, color, text attributes, margin, border,etc W3C no longer maintains the CSS 1 recommendation CSS 2 Superset of CSS 1 New capabilities such as absolute, relative, and fixed positioning, z-index, support aural styles sheets (later replaced in CSS 3) W3C no longer maintains the CSS 2 recommendation CSS 3 Divided into several separate documents called “modules” (unlike CSS 2 which is a large single specification)modules Each module adds new features or expands upon CSS 2

Problems With CSS Compatibility- does not work consistently across all the browsers Internet Explorer Box Model Bug Earlier versions of IE handled the sizing of elements in a web page differently than the standard way W3C recommends for CSS IE 6 and on are not affected as long as there are certain document type declarations in the HTML

IE Box Model Bug

Compatibility Prefixes IE : -ms- FireFox : -moz- Chrome/Safari/Opera : -webkit- List of examples

Benefits of CSS Allows for easy changes Allows for a smaller HTML file size Allows for consistency Makes life easy for users who wish to view content only

CSS3 Examples CSS Creatures Futurama AnimationFuturama Animation Dr. Zoidberg Google Doodle Inspired Responsive Cat

QUESTIONS

Works Cited 20 examples of SVG that will make your jaw drop (2011, July 21). In CB Creative Bloq. Retrieved October 29, 2014, from 22 stunning examples of CSS3 animation (2014, August 15). In CB Creative Bloq. Retrieved October 29, 2014, from A Case of Indifference (n.d.). In WCT Illustrated. Retrieved October 29, 2014, from Cascading Style Sheets (n.d.). In Wikipedia. Retrieved October 29, 2014, from CLEANCSS (n.d.). Retrieved October 29, 2014, from Coyier, C. (2008, February 28). Color Rendering Difference: Firefox vs. Safari. In CSS-Tricks. Retrieved October 29, 2014, from CSS3 Browser Support Reference (n.d.). In w3schools.com. Retrieved October 29, 2014, from Facts about W3C (n.d.). In W3C. Retrieved October 29, 2014, from

Works Cited Format CSS Code (n.d.). In {CSS}Portal. Retrieved October 29, 2014, from Facts about W3C (n.d.). In W3C. Retrieved October 29, 2014, from Internet Explorer Box Model Bug (n.d.). In Wikipedia. Retrieved October 29, 2014, from Learning CSS (n.d.). In VORD Web Design. Retrieved October 29, 2014, from Lie, H. W., & Bos, B. (n.d.). Cascading Style Sheets. Onori, P. (2013, October 8). Manipulating SVG Icons With Simple CSS. In tuts+. Retrieved October 29, 2014, from