1. Computing & Technology
Filed In:
  1. CSS

Cascading Style Sheets (CSS) Tutorials and Classes

Learn CSS through online and offline tutorials and classes. These Cascading Style Sheet tutorials and classes make it easy to learn CSS at your own pace.

Cascading Style Sheets Tutorial - CSS Tutorial

This Cascading Style Sheets Tutorial makes CSS easy to learn. This step-by-step CSS tutorial will help you walk through Cascading Style Sheets

Most Popular CSS Tutorials

There are a lot of CSS tutorials and articles on the Web Design / HTML site at About, and these are the most popular Cascading Style Sheets articles.

FREE CSS Class From About

In this free class, you will learn how to add CSS styles to your HTML, your Web pages, even your entire site. You will discover that Cascading Style Sheets are not difficult to learn, and in fact, CSS can be a lot of fun.

Using the CSS3 font-size-adjust Property to Set Your Font Sizes

Learn how to keep your font stacks legible even if your first choice isn't available by understanding the font-size-adjust property.

Adding Space to Web Page Text

Adding white space to HTML used to be fairly difficult, but now with CSS it's a lot easier to add spaces around objects, next to elements, and inside your pages. These CSS properties help you with indenting, outdenting, letter spacing, word spacing, line height, and white space.

Advanced Pull Quotes

Pull quotes can add variety to a page that is otherwise dull text. If you have pages with lots and lots of text and you can't add images to spice it up, adding pull quotes from the body text can make it more interesting and visually appealing. Learn how to make some exciting looking pull quotes with just a few simple CSS styles.

Avoid Inline Styles for CSS

Once you've learned the basics of CSS it can be tempting to do things that ultimately make your CSS harder to maintain and use. But if you follow best practices for CSS, you'll have Web pages that are accessible and easier to maintain. One of the basic best practices for CSS is to not use inline styles.

Build a Master Stylesheet

If one of your goals in creating a Web page is to make it look as close as possible across browsers, then the first thing you should do is create a master stylesheet to remove default browser styling. That way, when you build your designs with your design stylesheets, you'll be starting from a clean palette.

Converting the body Tag to CSS

Most HTML body tags are really ugly - crammed with lots of attributes that can be left off of a well-designed XHTML document.

Create a Pull Quote with HTML and CSS

Pull quotes can make your Web page content look more literary. A pull quote is something you see in magazines - where a short part of the content is pulled out and enlarged to attract attention to the content. You can make basic pull quotes with the blockquote element, but with CSS you can make it even more interesting.

CSS Align

Learn how easy it is to use CSS to align web page elements both horizontally and vertically on the page. You can align your elements to the left, right, or centered, and you can also align text to be justified.

CSS and Bulleted Lists

Learn how to get your unordered and Bulleted lists to look as you want them to.

CSS Drop Caps

CSS drop caps are easy to create and this simple example will show you how.

CSS Drop Shadows

Learn how to write CSS drop shadows without using any images. It's even possible to create drop shadows on text, but currently not in a standards-compliant or accessible way.

CSS Media Types

Use CSS media types to define different styles for different types of media, such as screen, print, tv, aural and others.

CSS Tip of the Day

Learn more about CSS and how to use style sheets in your Web design.

CSS Workflow - How to Start Work on a CSS Web Page

CSS workflows take into account both the needs of the designer and the needs of the language being used. CSS can be tricky even with the best tools, but if your workflow for creating a new Web page (or modifying an existing one) is consistent you’ll create better pages and be faster at it.

Framed Pages without Frames - CSS

CSS positioning is a great way to create framed pages without using frames - CSS allows you to position your HTML elements including making it look like a frame

How can I create a variable-width container without a table?

The display: table; CSS property is not supported in IE. This means that the only way to get the look of a table with CSS is to use a table.

How Can I Create a Watermark on a Web Page?

Learn how to create a watermark background image with just CSS.

How do you define the size of a font?

It's easy to make the fonts of your HTML documents larger and smaller with the font-size property.

How do you set the height of an element to 100%?

When you set a relative height on an element, it doesn't always change the height. For example, you might want a layout element to take up the full height of the browser window, but if you make this simple mistake, the height will only be as long as the text inside it. Find out why.

How to Avoid Deprecated HTML

It's one thing to be told to use CSS in place of deprecated HTML, but if you don't know what to use it can be difficult. This article will show you how to use CSS in place of those deprecated tags.

How to Build a 3-Column Layout in CSS

CSS layout requires that you think of your Web site layout as a whole, and then take the pieces and put them together. Use this tutorial to go from a simple wire-frame of a basic 3-column layout all the way to a Web page ready for content to be included.

How to Indent Paragraphs with CSS

Indenting paragraphs isn't difficult with CSS. Plus with the adjacent sibling selector, you can indent paragraphs more specifically.

How to Set Justified Text with CSS

This article explains how to justify your text with CSS. Justified text is a block of text that has no rag on the right or left sides. The block of text is written with the words lining up evenly on both sides, with the extra spacing added to between the words in the text on the line.

How to Style a Tag Cloud

The styles for a tag cloud aren't that difficult to master, but once you understand them, you can use them to create a tag cloud of anything on your site that is measurable.

Illustrated CSS Box Model

What are the parts of the CSS box model. Learn about how the different parts of the CSS box model work and how they interact with one another.

Indenting Lists

The indenting of lists is a frustrating topic for Web designers trying to get a consistent look and feel on their pages between different Web browsers. This is because the way various browsers implement the indenting is different from browser to browser. So if you change the indenting in only one way, your pages will look wrong in other browsers.

Make Zoom Buttons for Your Web Pages

Learn how to use CSS and a stylesheet switcher to create CSS zoom buttons for your Web pages so that people can choose a font size that meets their needs. CSS zoom buttons are found on more and more Web pages to let customers choose the font size they want.

Rounded Corners Using CSS and No Images

Rounded corners on boxes is a popular way to make CSS designs look less boxy, but the most common method requires a large amound of images which can drastically increase the download time for your pages. This method uses stripes and inline elements to get the effect of rounded corners.

Style Forms with CSS

Make your forms look less ugly, and fit into the style of your website by using CSS on the form elements. You don't have to be satisfied with ugly forms any longer.

Styles that Improve Your Text

CSS provides several properties for modifying your text so that your Web pages look more interesting. Text-decoration, text-transform, and text-shadow are useful properties to understand.

Styling Horizontal Rules with CSS

If you want to divide sections of your HTML, one way to do it is with the HR tag. But this tag can be really ugly if you don't style it. Learn how to use CSS to style your HR tags.

Styling Links with CSS

Don't let your links be boring, create links that are styled just like the rest of your Web pages. And before you think that just means changing the hover color - there's way more to it than that. When you're designing your page, don't forget to design your links.

Tips and Tricks Using CSS

Not all browsers support CSS the same, but there are some tricks to make your pages look the same even in different browsers.

Troubleshoot CSS

Troubleshooting CSS problems can be tricky. There are all the different ways that browsers handle the CSS as well as errors in your CSS and genuine bugs that cause problems. But in order to solve the problems your page is having with CSS, you need to learn to troubleshoot your designs and your CSS.

Types of CSS Styles

Understanding the three types of CSS styles is important if you're going to use cascading style sheets effectively.

Use Multiple CSS Classes on a Single Element

One of the more useful tricks with CSS is the fact that with the modern browsers you can use multiple CSS classes on one element to add styles as you need them.

Use One External CSS File to Speed Up Page Downloads

Using an external CSS file is an important way to improve the speed of your web pages because once the CSS is downloaded, the browser caches it and uses it for every subsequent page that calls it. But many people like to separate their CSS into multiple files and link to them all. This will slow down the loading of your pages. Instead, you...

What font units are available in CSS?

There are many ways you can specify the font size in CSS - font units like ems, ex, pixels, and points are all available for you to design your pages.

What should I name my CSS style sheet file?

Deciding on a filename for your CSS style sheet is important so that you don't forget what the document is and what it contains.

What's the difference between display: hidden and visibility: none?

These properties may seem like they do the same thing, but they actually act differently.

Why must the ID attribute be unique on each page?

Most browsers display styles on IDs and classes the same way, even if the ID is duplicated on the page. ID is shorter to type, why should I not duplicate it?

Discuss in my forum

©2012 About.com. All rights reserved.

A part of The New York Times Company.