Cascading Style Sheets (CSS) Within the Enterprise Architecture Framework (EAF) Wes Ziegeler August 3, 2006.

Slides:



Advertisements
Similar presentations
CSS. CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem External Style.
Advertisements

Cascading Style Sheets
Layout using CSS. Using multiple classes In the head:.important{font-style:italic;}.title{color:red;} In the body: Here's a type of paragraph that is.
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
Cascading Style Sheets By: Valerie Kuna. What are Cascading Style Sheets? Cascading Style Sheets (CSS) are a standard for specifying the presentation.
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
1 Web Developer & Design Foundations with XHTML Chapter 9 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. What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to.
Class four: the box model and positioning. is an HTML tag which allows you to create an element out of inline text. It doesn’t mean anything! try it:
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.
Stylin’ with CSS. 2 Topics What is CSS? Why CSS? CSS Examples.
Chapter 6 Web Typography
Introduction to Cascading Style Sheets (CSS) Module 2: HTML Basics LESSON 4.
Beginning Web Site Creation: Dreamweaver CS4. XHTMLCSS  Describes the structure  Content  Collection of styles  Formatting body { background-color:
Lecture Cascading Style Sheets (CSS) Internal Style Sheets Classes.
Streamlining Website Development in Dreamweaver Roger L. Runquist Western Illinois University Roger L. Runquist Western Illinois University.
Web Workshop: CSS Objectives: - “What is CSS?” - Structure of CSS - How to use CSS in your webpage.
Cascading Style Sheet (CSS) Instructor: Dr. Fang (Daisy) Tang
4.01 Cascading Style Sheets
Web Design is a class created to nurture the minds of high school techies, and introduce those without prior knowledge to the field.
Working with Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of a document.
HTML - Quiz #2 Attendance CODE:
Chapter 7 Web Typography Principles of Web Design, 4 th Edition.
Principles of Web Design 6 th Edition Chapter 10 – Data Tables.
The Characteristics of CSS
Chapter 6 Web Typography. 2 Principles of Web Design Chapter 5 Objectives Understand principles for type design on a Web site Use the element Understand.
Web Development & Design Foundations with XHTML
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
Cascading Style Sheets Class 1, Lecture 1 Rachel A Ober
1 What is CSS?  CSS stands for Cascading Style Sheets  Styles define how to display HTML elements  Styles are normally stored in Style Sheets  Styles.
ITCS373: Internet Technology Week 3: Introduction to CSS Dr. Faisal Al-Qaed.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
CSS My favourite ICT lesson By Federico Boschi Cascading Style Sheets.
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.
Just A Few More Fun Objectives 1 Having Some Fun With Java Script 2 Using Style Sheets.
CO1552 – Web Application Development Cascading Style Sheets.
 Word doc for you to download › Link at the beginning of class › 10 Questions › Answers to be added inline  Post to Sakai when completed › No resubmits.
Personal Design Portfolio First, you should select a theme for your web site. This theme can be your own design work, or the designs of another person.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 7.
Cascade Style Sheet Introduction. What is CSS?  CSS stands for Cascading Style Sheets  Styles define how to display HTML elements  Styles were added.
Stylin’ with CSS Monday October 8 th and Tuesday October 9 th.
CSS Cascading Style Sheets. CSS Advantages Greater typography and page layout control Style is separate from structure Styles can be stored in a separate.
HTML - Quiz #2 Attendance CODE:
Ch 10 HTML and CSS Web Standards Solutions A Web Standardistas’ Approach.
Lesson 03 // Cascading Style Sheets. CSS Stands for Cascading Style Sheets. We’ll be using a combination of Html and CSS to create websites. CSS is a.
Web Design and Development for Business Lecture 4 Cascading Style Sheet (CSS)
Week 8 – Part 2 Page Layout Basics Key Concepts 1.
Course created by Sarah Phillips BBCD Melbourne BAPDCOM Version 1 – April 2013.
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. Source W3Schools
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.
Introduction to CSS. Why CSS? CSS Provides Efficiency in Design and Updates CSS relatively easy to use Can give you more flexibility and control Faster.
Microsoft Expression Web-Illustrated Unit F: Enhancing a Design with CSS.
Web Design (12) CSS Introduction. Cascading Style Sheets - Defined CSS is the W3C standard for defining the presentation of documents written in HTML.
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.
Web Technologies Beginning Cascading Style Sheets (CSS) 1Copyright © Texas Education Agency, All rights reserved.
Web Development & Design Foundations with XHTML Chapter 6 Key Concepts.
1 Preparation for site Create a folder in MyDocuments: beavercheese. Create a subfolder, images Classes, career, DW beginner Download.
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.
OV Copyright © 2008 Element K Content LLC. All rights reserved. Working with Web Pages  An Introduction to Cascading Style Sheets  Format a Web.
NASRULLAHIBA.  It is time to take your web designing skills to the next level with Cascading Style Sheets (CSS). They are a way to control the look and.
>> CSS Layouts. Recall Properties of Box – Border (style, width, color) – Padding – Margin – Display – Background – Dimension Welcome Padding Area Border.
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.
4.01 Cascading Style Sheets
4.01 Cascading Style Sheets
Presentation transcript:

Cascading Style Sheets (CSS) Within the Enterprise Architecture Framework (EAF) Wes Ziegeler August 3, 2006

What is CSS? CSS stands for Cascading Style Sheets There are actually two different languages to choose from when you create a style sheet level 1 (CSS1) level 2 (CSS2) Styles define how to display HTML elements Styles are normally stored in Style Sheets Styles were added to HTML 4.0 to solve a problem External Style Sheets can save you a lot of work External Style Sheets are stored in CSS files Multiple style definitions will cascade into one For more details on CSS, See:

CSS1 vs. CSS2 Level 1 (CSS1) Compatible with both Netscape Navigator 4 (or later) and Microsoft Internet Explorer 4 (or later) Level 2 (CSS2) Only partially implemented in the current crop of browsers

Types of Styles External Style Sheets can save you a lot of work Styles sheets define how HTML elements are to be displayed External style sheets enable you to change the appearance and layout of all the pages in your Website, just by editing one single CSS document!

External vs. Inline While External Style Sheets control your entire site there are times you may want to use Inline styles to control a specific element Excessive use of this practice will defeat the purpose of the External Style sheet and result in unmanageable maintenance While the EAF does employ the use of inline styles, it is minimal

CSS within EAF: No Comments BODY { BACKGROUND: #ffffff; TEXT-ALIGN: center }.fontClass { FONT-SIZE: 12px; FONT-FAMILY: Verdana, Lucida, Helvetica, Arial, sans-serif }.fgClass { BORDER-RIGHT: #c2b6a0 1px solid; BORDER- TOP: #c2b6a0 1px solid; BORDER-LEFT: #c2b6a0 1px solid; BORDER-BOTTOM: #c2b6a0 1px solid; BACKGROUND-COLOR: #c1dbf6 }.bgClass { BORDER-RIGHT: #c2b6a0 1px solid; BORDER- TOP: #c2b6a0 1px solid; BORDER-LEFT: #c2b6a0 1px solid; BORDER-BOTTOM: #c2b6a0 1px solid; BACKGROUND-COLOR: #c1dbf6 } FIELDSET { BACKGROUND: #ffffff; TEXT-ALIGN: left } LEGEND { FONT-SIZE: 14px } TABLE { FONT-SIZE: 14px; FONT-FAMILY: Verdana, Lucida, Helvetica, Arial, sans-serif; POSITION: relative }

CSS within EAF: Textual Mapping /*comment-- Controls the entire page background - except BG around the headerlogo, last pages visited BG, portal/quicknav header BG, data listings BG and hover box BG.--comment*/ BODY { BACKGROUND: #FFFFFF; TEXT-ALIGN: center; } /*comment-- controls the hover text. --comment*/.fontClass { font-family: Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; } /*comment-- Controls the BG of hovers, border controls the hover cell padding not the table border around it. --comment*/.fgClass { background-color: #A95328; border: 1px solid #C2B6A0; } /*comment--BG color controls the hover border, border controls the hover border shading. -- comment*/.bgClass { background-color: #A95328; border: 1px solid #C2B6A0; }

CSS within EAF: Graphical Mapping Created in Visio Snapshot of EAF Home Page The arrows represent CSS controls for HTML components within the site This is basically a guide of how to do business Provides ideas for future projects A total of (5) snapshots site wide cover the major components within the CSS

.header - Controls top header logo size and borders..nav - Controls navigatio bar width, color, position, and text align. Border is set at none. Height is controlled by text line input..crumbs - Controls the Last Pages Visited area. a.navlink:hover - Controls top navbar text hover color and size. a.navlink:visited - Controls top navbar text color and size post-visit. a.navlink - Controls top navbar text color and size pre-visit..fontClass - Controls the hover text size and color..fgClass - Controls hover BG color. Border controls the hover cell padding not the table border around it..bgClass - Controls the hover border BG color. Border controls the hover border shading..timezone - Controls the current time functionallity and placement. Not currently used. Body - Controls the page BG color and text alignment. Body - Controls the page BG color and text alignment..rightmain - Controls the small printer, pdf and icons at the top of the page. #content - Controls all content of the entire site. Left page border, main text through-out the site and quick nav headings. Any content not controlled by another style. #col3 - Controls the Quick Nav Informatics..jumphead - Controls col1 and col3 headings..jumpbodyeven - Controls BG color and text of even containers..jumpbodyodd - Controls BG color and text of odd containers. #col1 - Controls column 1 informatics. NOT Download Reports. #col2 - Controls the functionallity of column 2. May be overidden by.fontCass or in the code. CSS GRAPHICAL MAPPING (Page 1 of 5)

CSS within EAF: In Conclusion /*comment-- Controls the entire page background - except BG around the headerlogo, last pages visited BG, portal/quicknav header BG, data listings BG and hover box BG.--comment*/ BODY { BACKGROUND: #FFFFFF; TEXT-ALIGN: center; } /*comment-- controls the hover text. --comment*/.fontClass { font-family: Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 12px; } /*comment-- Controls the BG of hovers, border controls the hover cell padding not the table border around it. --comment*/.fgClass { background-color: #A95328; border: 1px solid #C2B6A0; } /*comment--BG color controls the hover border, border controls the hover border shading. -- comment*/ Textual Mapping Graphical Mapping The important objectives to aim for are: Select the appropriate styles for your project Avoid or minimize the use of inline styles with external styles At a minimum comment your CSS An extra plus is a graphical mapping of the styles used to control your HTML