CSS Classes and GIMP Tutorial Sunpreet Jassal (prefix subject with “[hist481]”) Feb 25, 2008HIST 481.

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

The GIMP Simple features tutorial By Mary A White.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 4 Key Concepts 1 Copyright © Terry Felke-Morris.
Chapter 8 Creating Style Sheets.
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.
Ch. 5 Web Page Design – Templates and Style Sheets Mr. Ursone.
Chapter 17 Creating Images for the Web. Chapter Lessons Learn about Web features Optimize images for Web use Create a button for a Web page Create slices.
Microsoft Expression Web-Illustrated Unit L: Using Code Tools.
Introducing Cascading Style Sheets  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles  Text Formatting with CSS.
Creating Custom Forms. 2 Design and create a custom form You can create a custom form by modifying an existing form or creating a new form. Either way,
Create Unordered and Ordered lists Cascading Style Sheets Insert and align Graphics Image enhancements Background images and site maintenance Working with.
Create slices and hotspots Create links in Web pages Create rollovers from slices Create basic animation Add tweening symbol instances to create animation.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 9 1 Microsoft Office FrontPage 2003 Tutorial 9 – Using Layout Tables, Styles, and Office.
FIRST COURSE Creating Web Pages with Microsoft Office 2007.
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (85) Lesson 4.2Lesson 4.2 Format.
Creating Tables in a Web Site Using an External Style Sheet HTML5 & CSS 7 th Edition.
Chapter 19 – Macromedia Dreamweaver MX 2004
With Alex Conger – President of Webmajik.com FrontPage 2002 Level I (Intro & Training) FrontPage 2002 Level I (Intro & Training)
Understanding HTML Style Sheets. What is a style?  A style is a rule that defines the appearance and position of text and graphics. It may define the.
CIS 205—Web Design & Development Integration Chapter 1.
Creating Tables in a Web Site Using an External Style Sheet
© 2010 Delmar, Cengage Learning Chapter 7 Using Styles and Style Sheets for Design.
A guide for UICET for using Wikispaces.  A wiki is a web page or collection of web pages that can be linked together as a website.  Wikis are often.
Dreamweaver MX. 2 Creating External Style Sheets-1 (p. 400) n A style is a group of formatting attributes identified by a single name. n An ________ style.
Chapter 3 Working with Text and Cascading Style Sheets.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Web Technologies Website Development Trade & Industrial Education
Tutorial 6 Working with Bitmaps and Gradients, and Publishing Flash Files.
1 Macromedia Dreamweaver Outline Introduction Macromedia Dreamweaver Text Styles Images and Links Symbols and Lines Tables Forms Scripting in Dreamweaver.
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
Website Development with Dreamweaver
HTML presentation Embedding Graphics in Web Pages n HTML uses an empty tag called the (image tag) n n n or n n n Note: all web production tools do insert.
XP Dreamweaver 8.0 Tutorial 3 1 Adding Text and Formatting Text with CSS Styles.
Chapter 5 Web Graphics Styling Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
JAOIT 8.  Dreamweaver is a program for creating web pages and managing websites without having to type HTML code.  WYSIWYG – What you see is what you.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
Dreamweaver MX. 2 Overview of Templates n Templates represent a web page design or _______ that will be common to multiple pages. n There are two situations.
FILES AND ASSETS PANELS
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 3 Welcome Application Introduction to Visual Programming.
Creating an External Style Sheet Module 5: Beyond the Basics with Expression Web LESSON 8.
Working with Graphics – Lesson 21 Working with Graphics Lesson 2.
Use CSS to Implement a Reusable Design Selecting a Dreamweaver CSS Starter Layout is the easiest way to create a page with a CSS layout You can access.
Macromedia Dreamweaver MX 2004 Design Professional And Graphics WORKING WITH TEXT.
Adobe Photoshop CS3 Revealed – Chapter 16 FOR THE WEB CREATING IMAGES.
Introducing Cascading Style Sheets. Cascading Style Sheet Basics  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles.
Creating a Dynamic Web Page Template Module 5: Beyond the Basics with Expression Web LESSON 10.
Tutorial 3 Adding and Formatting Text with CSS Styles.
Macromedia Dreamweaver 8 Revealed AND GRAPHICS WORKING WITH TEXT.
Double –Click on the Netscape Icon on your desktop The following are a series of steps to help you get started with Netscape Composer.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 6 1 Microsoft Office Access 2003 Tutorial 6 – Creating Custom Forms.
Web and Multimedia Development Copyright © Genetic Computer School 2007WM LESSON OVERVIEW  Use of Tables  Creating Tables  Try It – 1  Creating.
Introduction to Layers GIMP User Manual. What is a Layer? Every image in GIMP is made by combining one or more images called Layers laid on top of each.
XP New Perspectives on Creating Web Pages With Word Tutorial 1 1 Creating Web Pages With Word Tutorial 1.
HTML LAYOUTS. CONTENTS Layouts Example Layout Using Element Example Using Table Example Output Summary Exercise.
4.01 Cascading Style Sheets
OVERVIEW Objectives Follow a design document to prepare images for inclusion in a Web page Run a batch process to prepare multiple images in one step Use.
ASP.NET Web Controls.
Introduction to Basic Interface of
Web Development & Design Foundations with HTML5 7th Edition
Exercise 63 Use a Flash movie clip symbol to store an animation that you need to use more than once in an application. This is very important for keeping.
Microsoft Office Access 2003
Chapter 2 Adding Web Pages, Links, and Images
Microsoft Office Access 2003
Tutorial 6 Creating Dynamic Pages
Embedding Graphics in Web Pages
Creating Images for the Web
Using Cascading Style Sheets (CSS)
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.
4.01 Cascading Style Sheets
The Web Collection Standard CS3 Revealed
Presentation transcript:

CSS Classes and GIMP Tutorial Sunpreet Jassal (prefix subject with “[hist481]”) Feb 25, 2008HIST 481

2 Overview Styling a class of page elements Assigning classes to content Using CSS editor to associate styles Removing classes from content Exercise Introduction to GIMP Concepts: images, layers, selections Creating a simple image Saving images for web sites GIMP Resources

3 Styling a class of page elements A class attribute allows us to associate style information to different elements An element can be assigned one or more class names A class name can be shared by several elements in a web page What would we use class attributes for? – Styling date, time, image labels – Styling image captions, navigation elements, etc.

4 Assigning classes to content 1)Create a blank page, and add some text as shown. 2)Select “internal web site” and insert link with as location, and select “external web site” and insert link with as location. We are now going to style internal and external web site links, that is two classes or categories of information.

5 Assigning classes to content 3) Right-click a link and open “Link Properties”. 4) Open the Advanced Property Editor. Choose class attribute and assign internal-site as value if href is uvic.ca, or external-site if href is google.com. To open Advanced Property Editor for other elements, switch to HTML Tags mode and right-click the tag of the element to see it as a menu option.

6 Using CSS editor to associate styles 1)Open CSS editor and create a new rule using the “named style” option. Enter “internal-site” in the text field to style internal web site (uvic.ca).

7 Using CSS editor to associate styles 3) Now add styles to external-site class selector. 2) Add styles to internal-site class selector and see the elements associated to internal-site class updated.

8 Removing classes from content 1) Remove the class from text using Advanced Property Editor. 2) Remove the class from CSS using CSS editor.

9 Exercise (non-link elements) Add a few dates (such as “Feb 25, 2008”) as text to your web page and style them using “date-label” as class name. – Create CSS class first to see menu option – Assign class to date label using menu option – To remove class assignment, open Advanced Property Editor from the HTML Tags mode (right- click tag associated to the date)

10 Introduction to GIMP GIMP is a tool for performing image tasks: construction, editing, retouching, composition. Supports a large variety of image formats including GIF, JPEG, PNG Free and runs on multiple platforms Native format is XCF, which preserves layers and your work in progress

11 Concepts: images, layers, selections An image is the basic entity in GIMP. A single image, such as GIF, JPEG file, is shown in a single display window. Think of an image as a book whose pages are layers. A layer is a page in the book. An image may contain one or more layers. Layers can be transparent, translucent or opaque. Selections allow you to change some parts of an image and not others. They are shown by a moving dashed line (aka “marching ants”).

12 Creating a simple image 1) Launch GIMP. 2) Create a new image from the File menu.

13 Creating a simple image Get acquainted with the main toolbox. Rearrange windows, if desired. 3) Use the Blend Tool to draw a gradient background. 4) Use the Text Tool to add text. Example:

14 Saving images for web sites Three popular formats: – GIF: supports max. 256 colors, 1 transparent color; used for small icons; offers loss-less compression – JPEG: supports millions of colors; offers lossy compression but no transparency – PNG: supports millions of colors and transparency; offers loss-less compression

15 Saving images for web sites Use the File menu to save your image as JPEG.

16 Saving images for web sites As mentioned, JPEG does not support transparent. If our image uses transparency, we’ll see this dialog. Click Export to continue. 100% offers no compression. 85% quality offers good compromise between compression and image quality.

17 GIMP Resources GIMP documentation: GIMP Tutorials: