The Wayback Machine - https://web.archive.org/web/20100217015834/http://www.webreference.com:80/html/tutorial5/


spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

The Human Factor

Developer News
OpenOffice 3.2 Lands Amid Critical Changes
Red Hat, IBM Firmly in KVM Virtualization Camp
Red Hat Talks Up Open Source Cloud Plans

Last time I went into a great tirade about HTML and its various specifications and implementations. If you thought that was bad, wait until you see what I have for you this week. In this, the fifth HTML with Style tutorial, I will introduce you to Cascading Style Sheets, or CSS.

Up to now, I have specified the need for your documents to have a logical structure that is sound and makes sense independent of the context of the document. However, if you're into the Web authoring business, one of your primary concerns is how to make your Web pages look good and attract readers. This can be accomplished through CSS.

This is going to be a very hands-on tutorial, with many examples that you can try out yourself. By the end of this tutorial you'll know how to give simple hints about how your documents will appear on screen. Later on we'll look at how you can also control printing and speech- based rendering of your documents.

It would really make your life easier if you had a browser that supports CSS at your disposal while reading this tutorial. At the time of writing, the most appropriate would be either Microsoft Internet Explorer 4.0 or Netscape Navigator 4.0, or a newer version of either. You can still read this tutorial without one of these browsers, but the in-page examples will not work unless your browser supports CSS.

This week, we'll look at the following topics:

Page
1.Separate Structure and Presentation1
2.The STYLE attribute & CSS declarations2
3.The STYLE element & CSS rule sets4
4.ID & CLASS selectors, Pseudoclasses6
5.The DIV and SPAN elements9
6.External Stylesheets10

Front Page12345678910

http://www.internet.com

Produced by Stephanos Piperoglou


The Network for Technology Professionals

Search:

About Internet.com
Copyright 2010 QuinStreet Inc. All Rights Reserved.

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

webref The latest from WebReference.com Browse >
Use Web Caching to Make Your Web Site Faster · Creating an Online Shopping Cart Mechanism in PHP · Log JavaScript Errors Using an AJAX-driven Web Service
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Pay Attention to your Oracle Database Archive Logging Function · Windows RemoteApp and the Road to Simplified App Deployment · AudioCodes' VMAS Mobile VoIP for Smartphones


All Rights Reserved. Legal Notices.

URL: http://www.webreference.com/html/tutorial5/
Created: August 20, 1998
Revised: August 20, 1998

Morty Proxy This is a proxified and sanitized view of the page, visit original site.