CSS (CASCADING STYLE SHEETS) LAYOUT: INTRODUCTION ON PAGE BACKGROUNDS. By Ted Mitchell

Similar documents
Using Dreamweaver CS6

Lesson 8: Presentation Enhancements Microsoft PowerPoint 2016

Open your blogger dashboard and click the design tab and then click template designer

Week 5 Creating a Calendar. About Tables. Making a Calendar From a Table Template. Week 5 Word 2010

Graphing on Excel. Open Excel (2013). The first screen you will see looks like this (it varies slightly, depending on the version):

Using Dreamweaver CC. Logo. 4 Creating a Template. Page Heading. Page content in this area. About Us Gallery Ordering Contact Us Links

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar with Dynamic Background Image

6.3. Applying Designs CHAPTER

ADD A 3-D PIE CHART TO THE WORKBOOK

Fish Eye Menu DMXzone.com Fish Eye Menu Manual

ORB Education Quality Teaching Resources

Unit 8. Lesson 8.1. Microsoft FrontPage. Introduction. Microsoft FrontPage-1. Microsoft FrontPage

Step 1 Download and Install KompoZer Step by step instructions to build your first web page using KompoZer web editor.

Unit 21 - Creating a Navigation Bar in Macromedia Fireworks

Labels and Envelopes in Word 2013

What can Word 2013 do?

Dreamweaver Tutorial #2

Microsoft Excel 2010 Basic

Use signatures in Outlook 2010

Microsoft Expression Web Quickstart Guide

To illustrate how to set TAG styles the <body> and <h1> tags (for the BODY and the HEADING 1 styles) will be adjusted.

Taking Fireworks Template and Applying it to Dreamweaver

Templates and Forms A Complete Overview for Connect Users

Instructions for Editing in the new System DNN9 the Upgrade from DNN8

Creating a Newsletter

The Newsletter will contain a Title for the newsletter, a regular border, columns, Page numbers, Header and Footer and two images.

Getting started with PowerPoint 2010

Customizing your Homepage in D2L

Dreamweaver Basics Outline

Microsoft PowerPoint 2003 Basic Activities

Title and Modify Page Properties

Creating Postcards in Microsoft Publisher

Excel 2013 Intermediate

Introduction to Microsoft Word 2007 Quickguide

How to lay out a web page with CSS

Word Tips & Tricks. Status Bar. Add item to Status Bar To add an itme to the status bar, click on the item and a checkmark will display.

Instructions for Formatting MLA Style Papers in Microsoft Word 2010

Getting Started with CSS Sculptor 3

Creating a Title Block & Border Using Chief Architect. Architectural Design & Residential Construction Penncrest High School

Creating a Website Using Weebly.com (June 26, 2017 Update)

My Awesome Presentation Exercise

Microsoft Powerpoint 2013

Computer Applications Info Processing

Using Dreamweaver CC. 6 Styles in Websites. Exercise 1 Linked Styles vs Embedded Styles

Learning to use the drawing tools

Reference Services Division Presents. Microsoft Word 2

Contents. I. Starting a New Presentation Try it! II. Choosing a Theme III. Tailoring the theme IV Background Styles...

Creating a Simple Webpage using Microsoft FrontPage 2003

Window Designer. Opening Screen: When you start Window Designer, you will see the Opening Screen. Here you will be choosing from 4 options:

How to Add Text to an Animated Image

Microsoft Publisher 2010

How to lay out a web page with CSS

Using Microsoft Word. Working With Objects

Links to Activities ACTIVITY 2.1. Links to Activities

Getting Started with Eric Meyer's CSS Sculptor 1.0

3. On the top Blue Bar, click the drop down menu of Software and Templates and choose Blank Label Templates.

The HOME Tab: Cut Copy Vertical Alignments

Computer Essentials Session 1 Lesson Plan

Adobe Dreamweaver CS3 English 510 Fall 2007

PowerPoint Tutorial 2: Adding and Modifying Text and Graphic Objects 2013

ICT IGCSE Practical Revision Presentation Web Authoring

Excel 2013 for Beginners

How to...create a Video VBOX Gauge in Inkscape. So you want to create your own gauge? How about a transparent background for those text elements?

PowerPoint X. 1. The Project Gallery window with the PowerPoint presentation icon already selected. 2. Click on OK.

FrontPage 2000 Tutorial -- Advanced

Grade: 7 Lesson name: Creating a School News Letter Microsoft Word 2007

Section 5. Pictures. By the end of this Section you should be able to:

How to lay out a web page with CSS

Contents. Group 2 Excel Handouts 2010

Designing the Home Page and Creating Additional Pages

Microsoft Word Chapter 1. Creating, Formatting, and Editing a Word Document with Pictures

Photoshop tutorial: Final Product in Photoshop:

Introduction to Dreamweaver CS3

CS Multimedia and Communications REMEMBER TO BRING YOUR MEMORY STICK TO EVERY LAB!

Center for Faculty Development and Support Creating Powerful and Accessible Presentation

Introduction to PowerPoint 2007

How to Add Word Heading Styles Explanation

USING MICROSOFT ACCESS 2013 Guided Project 7-1

Flash Image Enhancer Manual DMXzone.com Flash Image Enhancer Manual

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller

Nauticom NetEditor: A How-to Guide

PowerPoint Instructions

B.Sc. VI SEM (CS+BIO)

Quick Start Guide - Contents. Opening Word Locating Big Lottery Fund Templates The Word 2013 Screen... 3

Introduction to Microsoft PowerPoint 2010

Creating and Publishing Faculty Webpages

Introduction to HTML & CSS. Instructor: Beck Johnson Week 5

Web Page Basics. FRSD Elementary Technology Workshop. February Presented by Lisa Stewart, Tammy Gianvito, and Diane Kaufmann

Microsoft Word - Templates

FRONTPAGE STEP BY STEP GUIDE

Developing a Home Page

Project 1: Creating a Web Site from Scratch. Skills and Tools: Use Expression Web tools to create a Web site

.hedgehog { background-image: url(backyard.jpg); color: #ffff99; height: 6in; width: 12in; } .tube {

Hour 3: Apply a Theme to an Entire Web: Sams Teach Yourself Microsoft FrontPage 20...

HTML and CSS a further introduction

PowerPoint 2010 Introduction

Learn about PowerPoint: Create your first presentation

Using Dreamweaver. 6 Styles in Websites. 1. Linked or Imported Stylesheets. 2. Embedded Styles. 3. Inline Styles

CSS Selectors. element selectors. .class selectors. #id selectors

Excel 2016 Basics for Windows

Transcription:

CSS (CASCADING STYLE SHEETS) LAYOUT: INTRODUCTION ON PAGE BACKGROUNDS By Ted Mitchell

CSS IS USED TO CREATE BOXES ON/IN THE PAGE THAT ARE POSITIONED IN CERTAIN PLACES AND GIVEN STYLES OR CHARACTERISTICS THAT GOVERN HOW TEXT, BACKGROUND, ETC. GOES ON INSIDE THEM. THESE BOXES ARE CALLED DIVS. HERE S A TEMPLATE I LL USE AS AN EXAMPLE.

HERE S AN EXAMPLE OF A COMMON LAYOUT BELOW. EACH COLORED BOX IS A SEPARATE DIV (BOX) THAT ARE ALL WITHIN A CONTAINER DIV THAT IS WITHIN THE BODY (WHOLE PAGE). These divs can be arranged in many ways. CSS allows you to position them and create styles that affect the font, background, spacing, etc.

THE WHOLE PAGE IS THE BODY, BUT HERE THE DIV CALLED WRAPPER IS USED TO MAKE THE BACKGROUND OF THE PAGE. ALL OTHER DIVS OR BOXES USED ARE WITHIN THE WRAPPER. You don t have to use a wrapper div. Here it is meant to create an interesting background. You can use the body to create the background alone.

APPLY STYLES TASKPANE (BOTTOM RIGHT) IS USED TO ACCESS THESE STYLES. YOU CAN CHANGE THEM IN MANAGE STYLES AS WELL. Notice that the #wrapper div style is highlighted by a blue border indicating that this is what I am working with.

PLACE YOUR MOUSE OVER THE #WRAPPER STYLE AND AN ARROW POINTING DOWN ON THE RIGHT SIDE APPEARS. CLICK, THEN SELECT MODIFY STYLE. Example above: Select Modify Style

THIS STYLE WINDOW APPEARS. ANYTHING THAT HAS BEEN MODIFIED OR EDITED WILL BE IN BOLD. ONLY THE BACKGROUND AND BOX CATEGORIES ARE EDITED.

THE WRAPPER FILLS THE ENTIRE PAGE. ITS BACKGROUND IS IMG02 AND THE IMAGE IS ONLY REPEATED HORIZONTALLY ALONG THE X-AXIS. MEANING IT WILL NOT COVER THE BOTTOM OF A PAGE IF YOU SCROLL DOWN. Repeating an image for a background allows you to tile it. See the tutorial Using/Creating Backgrounds. for more information.

IMG02.JPG USED FOR THE BACKGROUND IS IN THE IMAGES FOLDER OF THE TEMPLATE HERE.

THIS IS IMG02.JPG OPENED IN WINDOWS PHOTO GALLERY. JUST A THIN IMAGE, DARK AT THE TOP THAT GETS LIGHTER VERTICALLY. THIS IMAGE IS REPEATED ACROSS THE PAGE. The image is thin and about 900 pixels in height. This will matter later.

YOU CAN SEE HERE HOW IT IS DARK BLUE AT THE TOP AND GETS LIGHTER AS YOU GO DOWN. THE IMAGE IS REPEATED ON AFTER THE NEXT ACROSS THE PAGE TO CREATE THE BACKGROUND. Darker blue at top. Lighter blue at bottom.

THIS IS THE BOTTOM OF THE TEMPLATE PAGE. SINCE THE DIV#WRAPPER IMAGE IS ONLY 900 PIXELS IN HEIGHT, IT WOULD END AND THE BACKGROUND WOULD BE WHITE. Instead, another background image of light blue has been added that resides underneath the wrapper image and all over the page. So, once the other image ends, the light blue continues. This image is places in the body CSS.

THE BODY CSS STYLE IS NOT SHOWN IN THE APPLY STYLES TASK PANE. INSTEAD IT CAN BE EDITED THROUGH THE MANAGE STYLES TASK PANE. CLICK THE TAB.

THIS IS THE MANAGE STYLES TASK PANE THAT ALSO ALLOWS YOU TO EDIT THE CSS STYLES. HERE YOU CAN SEE AND GET TO THE BODY. You can also specify different font styles within each div or all divs. For example, you can create font styles to change text to different colors, size, type, etc. See h1, h2, etc. You create a font style to h1 then apply the style to any text on your page and it will change to that style. This can be very convenient when working with multiple pages from a template css style page. **If confused, we ll get to it no worries.

CLICK AND RIGHT-CLICK ON BODY THEN SELECT MODIFY STYLE

THIS PAGE APPEARS. THIS ALLOWS YOU TO MODIFY THE BODY OF THE PAGE. CLICK ON THE BACKGROUND CATEGORY.

YOU CAN SEE THAT IMG01.JPG IS USED FOR THE BACKGROUND, REPEATING THROUGHOUT. THE COLOR IS SHOWN IN THE PREVIEW WINDOW BELOW.

HERE IS IMG01.JPG OPENED IN WINDOWS PHOTO GALLERY. JUST A SMALL TILE TO BE REPEATED ALL OVER THE ENTIRE BACKGROUND. KEEP IN MIND, THE OTHER LONG IMAGE (IMG02.JPG) IS LAYERED ON TOP OF THIS REPEATING IMAGE. Most picture-tiled backgrounds consist of small images like this that are repeated on each axis. If your webpage is scrolled down, it will continue forever.

IF I CHANGE THE BACKGROUND TILE PICTURE FROM THE LIGHT BLUE IMG01.JPG TO IMG06.JPG (A WHITE SMALL PICTURE) YOU CAN SEE HOW THINGS ARE SUPPOSED TO BLEND IN THE TEMPLATE. This is a small white with a grey top picture. It will replace the blue tile pic. You can also use a plain color as the background. Just click the down arrow and choose away.

YOU CAN SEE HERE THAT THE WHITE SMALL PICTURE FILE IMG06 IS SHOWN WHERE THE DIV#WRAPPER BACKGROUND HAS ENDED.

I CHANGED IT BACK TO THE LIGHT BLUE PICTURE. THE EASIEST FORM OF A BACKGROUND IS TO USE A TILE PICTURE OR COLOR IN THE BODY STYLE, BUT NOW YOU KNOW HOW IT S DONE BOTH WAYS. Img01 (light blue tile) is all over and behind all on this page. Img02 (dark blue at top, lighter towards bottom) is only across the top of the page like a layer over img01.

THE END See other tutorials for more ways to edit your web pages with CSS.