Microsoft Expression Web 3 – Illustrated Unit F: Enhancing a Design with CSS.

Slides:



Advertisements
Similar presentations
Chapter 3 – Web Design Tables & Page Layout
Advertisements

Cascading Style Sheets
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
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.
CSS cont. October 5, Unit 4. Padding We can add borders around the elements of our pages To increase the space between the content and the border, use.
กระบวนวิชา 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.
CSS normally control the html elements. Three Ways to Insert CSS There are three ways of inserting a style sheet: External style sheet Internal style.
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.
Week 9 Using the Box Properties. 9-2 The CSS Visual Formatting Model Describes how the element content boxes should be displayed by the browser –Based.
 CSS Presentation and layout is based on the CSS Box Model.  The CSS Box Model states that every element on a page is a rectangular box.  This includes:
Tutorial 2: Formatting Text. Objectives Session 2.1 – Learn the functions of the Common toolbar – Change the size of text – Discern which fonts to use.
Chapter Concepts Discuss Fonts Understand Fonts
XP Creating Web Pages with HTML Using Tables. XP Objectives Create a text table Create a table using the,, and tags Create table headers and captions.
Using HTML Tables.
7 Selecting Design and Color Section 7.1 Identify presentation design principles Use a custom template Add pages to a navigation structure Section 7.2.
Font Families By: Jonathan Bird. What is a font? First, what is a font? A font is a grouping of the same type and style of characters, often in the same.
 Missing (or duplicate) semicolons can make the browser completely ignore the style rule.  You may add extra spaces between the properties/values to.
Cascading Style Sheets 1 Color and Backgrounds. Cascading Style Sheets 2 Color and Backgrounds Computer color basics Expression of color values using.
Section 7.1 Identify presentation design principles Use a custom template Add pages to a navigation structure Section 7.2 Identify color scheme guidelines.
IMAGES Controlling size of images in CSS Aligning images in CSS Adding background images.
© 2011 Delmar, Cengage Learning Chapter 2 Developing a Web Page.
TECH2018 Multimedia and the Internet More about CSS and Page Layouts.
Tutorial 6 Creating Tables and CSS Layouts. Objectives Session 6.1 – Create a data table to display and organize data – Modify table properties and layout.
Cascading style sheets (CSS)
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Understanding CSS Essentials: Content Flow, Positioning, and Styling
Chapter 2 Developing a Web Page. A web page is composed of two distinct sections: –The head content –The body Creating Head Content and Setting Page Properties.
CSS The Definitive Guide Chapter 8.  Allows one to define borders for  paragraphs  headings  divs  anchors  images  and more.
Chapter 12 Cascading Style Sheets: Part II The Web Warrior Guide to Web Design Technologies.
(CSS) More Details Instructor: Mr. Ahmed Al Astal ITGD4104 Department Requirement for senior student University of Palestine Faculty of IT.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
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.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 7.
Designing a Web Page with Tables. A text table: contains only text, evenly spaced on the Web page in rows and columns uses only standard word processing.
 Remember that HTML is just text  Need to point to pictures  Use the img tag  alt: › screen reader › REQUIRED for this class and to validate.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. word 2010 Chapter 3 Formatting Documents.
Tutorial #6 – Creating Fixed Width Layouts. Tutorial #5 Review – Box Model Every html element is surround by a box Content, Padding, Border, Margin Can.
INTRODUCTORY Tutorial 4 Exploring Graphic Elements and Images.
Cascading Style Sheets Robin Burke ECT 270. Outline Midterm The Layout Debate CSS properties Fonts Alignment Color CSS selection selectors pseudo-classes.
So far, we have looked at CSS selectors that correlate with HTML tags Now, we’ll see how you can define your own selectors using class and ID selectors.
DIV, Span, CSS.
Tutorial 3 Adding and Formatting Text with CSS Styles.
XP Review 2 New Perspectives on JavaScript, Comprehensive1 Introducing Cascading Style Sheets Formatting Web Pages with CSS.
Layout with Styles Castro Chapter 11. Tables vs. CSS You can produce “liquid layouts” (layouts that stretch as the browser is resized) using tables or.
Macromedia Dreamweaver 8 Revealed WEB PAGE DEVELOPING A.
XHTML Formatting font with a style declaration. Formatting Font HTML uses the font tag to change size and family of font But… the font tag is being deprecated.
Microsoft Expression Web-Illustrated Unit F: Enhancing a Design with CSS.
Designing a Web Page Layout Using a Professional Bitmap & Vector Graphic Editing Suite 1IT: Web Technologies – Design a Web Page Layout 2 Copyright © Texas.
CHAPTER 4 CREATING STYLES AND LAYOUTS WITH CSS. CHAPTER OBJECTIVES Create ID-based styles Position content with CSS Format text with CSS Identify CSS.
Microsoft Expression Web 3 – Illustrated Unit D: Structuring and Styling Text.
Web Technologies Beginning Cascading Style Sheets (CSS) 1Copyright © Texas Education Agency, All rights reserved.
Tutorial 4 Creating Page Layouts with CSS
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 Box Model. What is the Box Model? Each XHTML element appearing on our page takes up a "box" or "container" of space. Each box size is affected not.
Tutorial #5 Working with the Box Model. Tutorial #4 Review - CSS Create a homework page Final Project Discussion Exam on Blackboard Styling Lists (List-style-type,
1 CS428 Web Engineering Lecture 07 Font, Text & Background (CSS - II)
HTML & CSS Contents: the different ways we can use to apply CSS to The HTML documents CSS Colors and Background CSS Fonts CSS Text CSS box model: padding,
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.
CSS.
CSS Box Model.
CSS Box Model.
Cascading Style Sheets (Layout)
Fixed Positioning.
CSS Box Model.
Training & Development
Tutorial 3 Working with Cascading Style Sheets
Exercise 9 Skills You create and use styles to create formatting rules that can easily by applied to other pages in the Web site. You can create internal.
Presentation transcript:

Microsoft Expression Web 3 – Illustrated Unit F: Enhancing a Design with CSS

Objectives Understand CSS layouts Add background images Set a background color using the Eyedropper Set a background color using a swatch Add a border Expression Web 3 - Illustrated 2

Objectives (continued) Add a font family Style headings Style the footer Set padding and margins Expression Web 3 - Illustrated 3

CSS box model – every element on a page is a rectangular box.  Core component – content area  Optional components – borders, padding, margins Understanding CSS Layouts Expression Web 3 - Illustrated 4

Understanding CSS Layouts (continued) Content area – innermost box, contains text, images, or other content. Padding area – creates space between content and border. Border – encloses the padding and content areas. Margin area – creates space surrounding the other three components Expression Web 3 - Illustrated 5

Understanding CSS Layouts (continued) div – html container element often used for layout and positioning. id attribute – unique and specific name, can only be used once on a page. class-base rules are indicated with a “.” id-based rules are indicated with a “#” Expression Web 3 - Illustrated 6

Adding Background Images CSS background images are used to create a consistent look across all pages of a site. Background images are applied through a style rule instead of being directly inserted in an HTML page. Expression Web 3 - Illustrated 7

Adding Background Images (continued) background-repeat – controls whether and how the image repeats across the element. background-attachment – controls whether the image scrolls with the element’s content or stays fixed as the content scrolls over it. (x) background-position – controls where the image is placed relative to the left edge. (y) background position – controls where the image is placed relative to the top edge. Expression Web 3 - Illustrated 8

Adding Background Images (continued) Limitation of background images:  Cannot include a link. Images that include links must be inserted on each page individually. Expression Web 3 - Illustrated 9

Adding Background Images (continued) Expression Web 3 - Illustrated 10

Setting a Background Color Using the Eyedropper Background color can add color to a page without images. Background color displays across entire element, including margins. Ways to choose a color:  Enter hex value  Using Select tool  Using Eyedropper tool Expression Web 3 - Illustrated 11

Setting a Background Color Using the Eyedropper (continued) To sample a color, use the eyedropper tool and click the color anywhere on your screen to select that exact shade for your use. Web-safe colors – colors that display reliably on all computer monitors. Expression Web 3 - Illustrated 12

Setting a Background Color Using the Eyedropper (continued) Expression Web 3 - Illustrated 13

Setting a Background Color Using a Swatch Color swatches provide access to basic colors such as red, yellow, and gray. Background color should contrast with the foreground colors. Expression Web 3 - Illustrated 14

Setting a Background Color Using a Swatch (continued) Expression Web 3 - Illustrated 15

Adding a Border Borders can:  Enhance visual design  Draw attention to particular areas or content  Act as visual separators CSS border properties  Border-style  Border-width  Border-color Expression Web 3 - Illustrated 16

Adding a Border (continued) Expression Web 3 - Illustrated 17

Adding a Font Family Font family – prioritized list of fonts used in case the visitor’s computer doesn’t have a particular font installed. Guidelines for creating a font family  Start with the font you prefer.  Then list Web-safe fonts for Windows and Mac systems.  End with a generic font family. Expression Web 3 - Illustrated 18

Adding a Font Family (continued) Web-safe fonts are likely to be available on Windows, Mac, and Linux-based computer systems. Generic font families are displayed if no other fonts in list are available.  Three generic font families are consistently understood Serif Sans-serif Monospace Expression Web 3 - Illustrated 19

Adding a Font Family (continued) Serif – has visible strokes at the ends of the character, such as Times New Roman. Sans-serif – has no strokes a the end of the character, such as Arial. Monospace – has equal space between characters, such as Courier. Limit font usage to two fonts per design. Expression Web 3 - Illustrated 20

Adding a Font Family (continued) Expression Web 3 - Illustrated 21

Styling Headings Creating interesting heading styles is a great way to make your site more readable and more visually pleasing. By default, browsers display HTML headings bolder than paragraph text. Expression Web 3 - Illustrated 22

Styling the Footer General footer content  Text-only navigation  Copyright notice  Links to reference areas such as privacy policy or contact information De-emphasize the footer by making text smaller and less noticeable so it doesn’t distract from more important content on page. Expression Web 3 - Illustrated 23

Setting Padding and Margins Adding white space in margins and padding can improve appearance and readability of your site. Expression Web 3 - Illustrated 24

Summary Design details make the difference between a site that is merely acceptable and one that captures attention of the audience. Adding background colors, background images, borders, and appropriate white space can create a pleasing and cohesive visual identity to your site. Font families provide a prioritized list of fonts in case a visitor’s computer doesn’t have the font used in your site. Expression Web 3 - Illustrated 25

Summary (continued) Headings can make your site more readable and visually pleasing. Footers contain content such as text-only navigation, copyright notice, privacy policies, and contact information. Margins and padding add white space to your pages. Expression Web 3 - Illustrated 26