Gradients.

Slides:



Advertisements
Similar presentations
Web Engineering 1 Ishaq Khan Shinwari MCS City University Peshawar.
Advertisements

MIS 425 Lecture 2 – HTML Navigation, Colors, tables and Styles Instructor: Martin Neuhard
Introduction to CSS.
INTRODUCTORY Tutorial 7 Creating Liquid Layouts. XP Objectives Discern the differences among various types of layouts Create a liquid layout Create a.
Introduction to Cascading Style Sheets (CSS) Module 2: HTML Basics LESSON 4.
Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet.
Art 128 Interface Programming 1 In-class Presentation Week 11B.
INTRODUCTION TO WEB DEVELOPMENT AND HTML Lecture 06: Tables - Spring 2011.
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.
Creating Tables in a Web Site Using an External Style Sheet
HTML, Third Edition--Illustrated Introductory 1 HTML, Third Edition Illustrated Introductory Unit F Working with Tables.
ITP 104.  While you can do things like this:  Better to use styles instead:
Chapter 4 Adding Images. Chapter 4 Lessons Introduction 1.Insert and align images 2.Enhance an image and use alternate text 3.Insert a background image.
1 Background and Text Links CGS3066 Rory J. De Simone.
HTML 4 Foundation Level Course HyperText Markup Language Most common language used in creating Web documents. You can use HTML to create cross-platform.
Word Lesson 9 Enhancing Documents Microsoft Office 2010 Advanced Cable / Morrison 1.
HTML5 Sections Old structuring elements –body, div, address, blockquote –headings: h1, h2, h3, … –ul, ol, table New structuring elements –header, footer,
Adobe Dreamweaver CS3 Revealed CHAPTER THREE: WORKING WITH TEXT AND IMAGES.
CSS Tutorial 1 Introduction Syntax How to use style specifications. Styles.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
INTRODUCTORY Tutorial 4 Exploring Graphic Elements and Images.
CIS234A- Lecture 7 Instructor Greg D’Andrea. Tables A table can be displayed on a Web page either in a text or graphical format. A text table: – contains.
ATTRIBUTES, LISTS, AND TABLES. Chapter 4 Objectives Extensions Strict vs. transitional XHTML Tag options Structure lists Table data.
Table (TABLE) Contains TABLE ROWS (TR) Contains TABLE DATA (TD) Data can contain anything › Text › Lists › Other tables › Pictures › …
CIS234A Lecture 8 Instructor Greg D’Andrea. Review Text Table contains only text, evenly spaced on the Web page in rows and columns uses only standard.
DIV, Span, CSS.
Page Design Issues IWM 14 Information Services for the Web.
Gradients. What are Gradients? Gradients are graphics files that gradually blend from one shade of color to another. By using gradients as background.
Paper 3 Unit 15 – Web Authoring Software Choices Graphics Exporting Graphics Creating CSS RGB Colour CSS – Body, Table and TD Border Collapse Tables -
A CSS file consists of rule sets. H1 { color: navy; } selector property value Within the brackets are one or more rules /*This rule adjust the styles.
Cascading Style Sheets I Embedded Style Sheets. Page Design ICSS 2Instructor: Sean Griffin What is a Style Sheet? A style sheet is a text file that contains.
University of South Asia Course Name: Web Application Prepared By: Md Rezaul Huda Reza
Slide 1 Graphics (Characteristics 1) Images have various characteristics that affect performance Size (number of pixels) – Large images can be several.
1 Preparation for site Create a folder in MyDocuments: beavercheese. Create a subfolder, images Classes, career, DW beginner Download.
What to Style? Styles for elements establish consistency –Styles for HTML or body become the default –Only create styles for pre-defined elements* Styles.
© 2001 – All Rights Reserved – Page 1 Web Graphic Elements Web Graphic Elements.
CIS67 Foundations for Creating Web Pages Professor Al Fichera Rev. September 22, 2010—All HTML code brought to XHTML standards. Reference for CIS127 and.
WEB DESIGN PRINCIPLES Dale Blasingame School of Journalism & Mass Communication Texas State University.
Practice for Chapter 3: Assume that you are a freelance web designer and need to create a website to promote your freelance company.
1 ITEC 4830 Graphics Design Chapter 1 Dreamweaver MX 2004 Basics.
Course created by Sarah Phillips BBCD Melbourne BAPDCOM Version 1 – April 2013.
CSS HTML and website development.
Table Styling.
CSS Table Styling.
Table Styling.
Semester - Review.
Applying CSS to Tables Stylish Tables.
Table Styling.
Unit 3 - Review.
Web Developer & Design Foundations with XHTML
Nesting and Floating Elements
1.01 Investigate graphic types and file formats.
Web Design M. Jacie Yang Assistant Professor
Programming the Web using XHTML and JavaScript
Principles of Software Development
CSS Table Styling.
TABLES.
Introduction to CSS.
Graphics (Characteristics 1)
محمد احمدی نیا CSS محمد احمدی نیا
Tutorial 3 Working with Cascading Style Sheets
Chapter 2 HTML & 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.
Cascading Style Sheets
Gradients.
Make a Heading and sub-headings.
How to Create Tables & Graphs in Excel
Gradients.
Gradients.
Presentation transcript:

Gradients

What are Gradients? Gradients are graphics files that gradually blend from one shade of color to another. By using gradients as background images, we can make our web pages look more modern and stylish. There is no need to use a large image when building a gradient effect on our page. We take advantage of the background-repeat property in CSS.

How Gradients Work: By repeating the graphic horizontally, we can fill a much larger area with the gradient effect. 200 pixels high To make web pages load faster, most web designers make their gradients just 1 pixel wide. 10 pixels wide

We can use horizontal gradients to style our pages also. Gradient Example: <head> <style type="text/css" media="all"> .header { width:800px; height:200px; background-image:url('gradient.jpg'); background-repeat:repeat-x; } h1 { text-align:center; color:white; </style> </head> <body> <div class="header"> <h1>Gradient Example</h1> </div> </body> We can use horizontal gradients to style our pages also. Many XHTML elements can use gradients as their background images: <body>, <div>, <table>, <tr>, <td>, etc. Gradient Example

Creating Gradients: Gradient files are created using graphics applications such as Adobe Photoshop. They can also be created at no cost by using online resources, such as tools.dynamicdrive.com/gradient/ : Choose which type of gradient. Choose dimensions of gradient. Set the start and end colors. Choose a file format. See a preview of the gradient.