Mike Hamilton V.P. Product Management MadCap Software CasCading Style Sheets (CSS) An introduction and overview.

Slides:



Advertisements
Similar presentations
Mike Hamilton V.P. Product Management MadCap Software Cascading Style Sheets (Part 3): Images and Text.
Advertisements

MadCap Flare – Controlling Document Look and Feel with CSS
CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
Introducing CSS CIS 133 mashup Javascript, jQuery and XML 1.
Making Things Look Nice: Visual Appearance and CSS CMPT 281.
HTML – A Brief introduction Title of page This is my first homepage. This text is bold  The first tag in your HTML document is. This tag tells your browser.
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.
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.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 6 - Cascading Style Sheets™ (CSS) Outline 6.1 Introduction 6.2 Inline Styles 6.3 Embedded Style.
Chapter 6 Web Typography
Mike Hamilton V.P. Product Management MadCap Software Cascading Style Sheets (Part 2): Fonts and Beyond.
Introduction to Cascading Style Sheets (CSS) Module 2: HTML Basics LESSON 4.
Cascading Style Sheets. Slide 2 Lecture Overview Overview of Cascading Style Sheets (CSS) Ways to declare a CSS CSS formatting capabilities New features.
XP 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
Computing Concepts: CSS. Aims  To understand the uses of css  To understand the different types of css  To be able to create a css file  To be able.
Working with Cascading Style Sheets. 2 Objectives Introducing Cascading Style Sheets Using Inline Styles Using Embedded Styles Using an External Style.
Using Cascading Style Sheets (CSS) Dept. of Computer Science and Computer Information CSCI N-100.
© 2012 Adobe Systems Incorporated. All Rights Reserved. LEARNING THE LANGUAGE OF THE WEB INTRODUCTION TO HTML AND CSS.
Working with Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of a document.
Chapter 11 Cascading Style Sheets: Part I The Web Warrior Guide to Web Design Technologies.
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 - Quiz #2 Attendance CODE:
Cascading style sheets (CSS)
Dreamweaver -- CSS. Dreamweaver -- MX New icons are added in MX Most of the features commonly used in web design, and are same as FrontPage. New feature.
The Characteristics of CSS
CSS Cascading Style Sheets By Garrett Garman. CSS Why use Style Sheets? Separates Appearance and Structure Modularity Quick and Easy changes Flexibility.
Cascading Style Sheets CSS.  Standard defined by the W3C  CSS1 (released 1996) 50 properties  CSS2 (released 1998) 150 properties (positioning)  CSS3.
Mike Hamilton V.P. Product Evangelism MadCap Software Content Authoring for Responsive Design.
Tutorial 3 Working with Cascading Style Sheets (CSS)
I NTRO TO CSS IAT100 Spring I NTRO TO CSS Covered in this lesson: Overview What is CSS? Why to use CSS? CSS for Skinning your Website Structure.
Cascading Style Sheets by Pavlovic Nenad by. Presentation Contents  What is CSS?  Why CSS?  Types of Style Sheets  Style Sheets Syntax  Box Formatting.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
Cascading Style Sheets Tom Osman. Keep the content of a webpage separate from the formatting of the page. Structure (of content)  Headings  Sub headings.
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.
Cascading Style Sheets Orientation Learning Web Design: Chapter 11.
CO1552 – Web Application Development Cascading Style Sheets.
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.
Tutorial 5 Formatting with CSS. Objectives Session 5.1 – Evaluate why CSS styles are used – Determine where to write styles – Create an element selector.
Introduction to CSS. What is CSS?  Cascading Style Sheets  Used for styling HTML  Also important in javascript and jquery for selectors  External.
Cascading Style Sheets Class 2, Lecture 2 Rachel A Ober
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 7.
IS 360 Declaring CSS Styles. Slide 2 Introduction Learn about the three ways to declare a style Inline / embedded / external Learn about the effect of.
PRESENTED BY Content Authoring for Responsive Design Mike Hamilton V.P. Product Evangelism at MadCap Software
XP Tutorial 7New Perspectives on HTML and XHTML, Comprehensive 1 Working with Cascading Style Sheets Tutorial 7.
Advanced Web Development Instructor: Thomas Bombach.
Cascading Style Sheets
Cascading Style Sheets CSS.  Standard defined by the W3C  CSS1 (released 1996) 50 properties  CSS2 (released 1998) 150 properties (positioning)  CSS3.
CSS Cascading Style Sheets. Cascading Style Sheet (CSS) A cascading style sheet (CSS) is a set of rules that define styles to be applied to entire Web.
Cascading Style Sheets Objective: Create an external style sheet, embedded style sheet, and an inline style to change the look and feel of a web site.
Cascading Style Sheets (CSS). A style sheet is a document which describes the presentation semantics of a document written in a mark-up language such.
CNIT 132 – Week 4 Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of.
Web Design (12) CSS Introduction. Cascading Style Sheets - Defined CSS is the W3C standard for defining the presentation of documents written in HTML.
Lecture 2: Cascading Style Sheets (CSS) Instructor: Dr. M. Anwar Hossain.
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.
Cascading Style Sheets Primary readings Presentations Explain & review projects with class mates.
Web Technologies Beginning Cascading Style Sheets (CSS) 1Copyright © Texas Education Agency, All rights reserved.
Style Sheets. Coding Style Sheets  Style sheets use RULES to create the style  A selector (a tag or user-defined style name)  and then declarations.
Intro to CSS Christy. What is CSS?  Cascading Style Sheets  Separates content from presentation  Defines how to display HTML elements  Provides control.
XP Tutorial 7New Perspectives on HTML and XHTML, Comprehensive 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
What is CSS? A set of style rules that tell the web browser how to present a web page or document. – In earlier versions of HTML, style characteristics,
CSS Cascading Style Sheets. Session Checklist ► Learn why style sheets are needed and their advantages and disadvantages ► Learn the format of a style.
Cascading Style Sheets Using HTML. What are they? A set of style rules that tell the web browser how to present a web page or document. In earlier versions.
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.
Cascading Style Sheets Part 1 1 IT 130 – Internet and the Web.
CX Introduction to Web Programming
Cascading Style Sheets (CSS)
Cascading Style Sheets
Cascading Style Sheets
Cascading Style Sheets III B. Com (Paper - VI) & III B
Presentation transcript:

Mike Hamilton V.P. Product Management MadCap Software CasCading Style Sheets (CSS) An introduction and overview

Presenter Information Mike Hamilton –MadCap V.P. of Product Management Mike Hamilton is the Vice President of Product Management at MadCap Software where he is working on the next generation authoring tool, Flare. Before joining MadCap Software, he was the Product Manager for the RoboHelp product line since the days of Blue Sky Software, eHelp, and Macromedia. Mr. Hamilton joined the RoboHelp team in the mid ’90s as a founding member of the Training Solutions Program team, where he co-authored the certified training materials supporting the RoboHelp family. Mike has over 20 years of experience in training, technical communication, multimedia development, and software development at several organizations including Macromedia, eHelp/Blue Sky Software, Cymer, a leading supplier of laser illumination sources in the semiconductor industry, National Steel and Shipbuilding, and the US Navy.

We also have with us… Sharon Burton –MadCap Product manager She will answer your questions during the webinar –She’ll do her best to answer them Type questions in the Question and Answer area of the GoToWebinar bar

How this webinar works You are muted –If you’ve been talking, hoping we’d notice, we can’t hear you We’re recording this webinar –None of your information will appear in the final webinar –The download link will be provided to you automatically in a follow up –A short survey will also be included Helps us make the webinars better for you We should be done by the top of the hour –We know you have a busy day

Agenda What are Cascading Style Sheets (CSS)? What can CSS do? Types of CSS What is Cascading? CSS rules What is Inheritance? Creating a Cascading Style Sheet Creating a custom style Applying a style sheet to documents

What Are Cascading Style Sheets (CSS)?

What Are Cascading Style Sheets? Cascading Style Sheets From Wikipedia, the free encyclopedia Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation (that is, the look and formatting) of a document written in a markup language. Its most common application is to style web pages written in HTML and XHTML, but the language can be applied to any kind of XML document, including SVG and XUL. Created by: CSS was created by Håkon Wium Lie and Bert Bos and was adopted as a W3C Recommendation in late 1996.

CSS Status Cascading Style Sheets From Wikipedia, the free encyclopedia Current: CSS 2.1, adopted by the W3C in 2007 is the current recommendation. Future: CSS 3 has been broken into new categories and is under development. Support: Early browser support was problematic leading many to ignore the CSS technology. Modern browsers may still have the occasional quirk, but CSS rendering has become quite reliable.

What Are Cascading Style Sheets? A standards-based method for controlling the look and feel of XML content. Comprised of Rules to control elements in the document. Designed to separate formatting from the content while being flexible and scalable

What Can CSS Do?

Text formatting Element sizing Element positioning Change link attributes Cursor manipulation And more…

What Can CSS Do? Most importantly, CSS can support the control of hundreds or thousands of documents from a single control file This makes your life much easier when it is time to make updates

Types of CSS

Three CSS implementations –Inline Affects only the element applied to –Embedded Affects only the elements in a single file –External Linked to an unlimited number of files

HTML Page Structure Document (HTML) Head Body H1 Heading Paragraph 1 Paragraph 2 Title Text Title Text H1 Heading Paragraph 1 Paragraph 2

HTML Page Structure Document (HTML) Head Body H1 Heading Paragraph 1 Paragraph 2 Title Text Title Text H1 Heading Paragraph 1 Paragraph 2

Inline CSS Use the STYLE attribute This is normal text This is bold text

Embedded CSS Added to the area of file Use element New Topic1 P{font-weight:bold}

External CSS The element is used to attach a CSS document to an HTML document New Topic1

What is Cascading?

Cascading The three CSS types combine at run time to render the page. Order of precedence Inline styles Embedded style sheets Linked (external) style sheets

CSS Rules

Cascading Style Sheets (CSS) Style Rules H1 {font-weight: bold; color:black; } Inline style=“font-weight: bold” Selector Declaration PropertyValue H1 {font-weight: bold} Embedded/ External

What is Inheritance?

CSS Inheritance XHTML elements inherit style attributes Sample heading Sample text body { font-family: Arial; }

HTML Page Structure Document (HTML) Head Body H1 Heading Paragraph 1 Paragraph 2 Title

Creating a Cascading Style Sheet

body {color: #000000; background: #F1F2EC; font-size: 8pt; font-family: Verdana, Arial,Helvetica, Sans Serif;} h1 {color: #0D10E5; font-size: 12pt;} h2 {color: #040677; font-size: 10pt;} p {margin-bottom: 16px;} Heading 1 Text A normal paragraph Heading 2 Text Another normal paragraph This paragraph will be a tip.

Creating a Custom Style

CLASS attribute The CLASS attribute can be used to create custom styles for a set of items on a page P { color:blue; margin-left:3px; } P.myclass { color:blue; margin- left:3px; }

CLASS attribute Class Syntax: –In a style sheet: P.myclass { color:blue;} –In a page: Text

Creating a Cascading Style Sheet body {color: #000000; background: #F1F2EC; font-size: 8pt; font-family: Verdana, Arial, Helvetica, Sans Serif;} h1 {color: #002000; font-size: 12pt;} h2 {color: #002b00; font-size: 10pt;} p {margin-bottom: 16px;} p.tip {color: #BEF5BF; font-weight: bold; background-color: #696969; padding-left: 0.8em; padding-right: 0.8em; padding-bottom: 0.3em; padding-top: 0.3em; border-bottom-color: #000000; border-bottom-style: Solid; border-bottom-width: 1px; border-top-color: #000000; border-top-style: Solid; border-top-width: 1px;} Heading 1 Text A normal paragraph Heading 2 Text Another normal paragraph This paragraph will be a tip.

Applying a Style Sheet to Documents

External CSS The element is used to attach a CSS document to an HTML document New Topic1

Suggested Reading List HTML, XHTML, and CSS, Sixth Edition (Visual Quickstart Guide) by Elizabeth Castro ISBN-13: CSS To The Point by Scott DeLoach ISBN-13: Cascading Style Sheets: Designing for the Web (3rd Edition) (Paperback) by Hakon Wium Lie and Bert Bos ISBN-13: CSS: The Definitive Guide, Third Edition by Eric Meyer ISBN-13:

Questions? Mike Hamilton V.P. Product Management MadCap Software

Thank You! Mike Hamilton V.P. Product Management MadCap Software