Helping ordinary people create extraordinary websites!
HOME TUTORIALS SCRIPTS WEB HOSTING BLOG FORUM
Get Our Newsletter
Email:
CSS Tutorials

Below is our collection of CSS tutorials and articles where you should be able to find the CSS tutorial to suit your need. We have also included here some links to important areas of CSS development to help you with your coding.

» CSS Introduction
New to CSS? Get started with this tutorial.
» CSS Syntax
Learn the basic syntax of the CSS language.
» CSS Selectors
Learn how to use CSS selectors.
» CSS Visual Effects
Learn about CSS and visual effects.
» CSS Text Formatting
Learn how to use format text with CSS.
» CSS User Interface
Learn the user interface options for CSS.

Planning Your Stylesheet - The Definitive Guide
By Brigitte Simard

The more we rely upon CSS, the larger and more complex stylesheet files become. Planning and organizing your stylesheet is essential to creating a lean, manageable website. There are many ways of organizing CSS code but the following are best practice...
Wednesday, 26th March 2008



CSS Shorthand Properties
By Trenton Moss

One of the main advantages of using CSS is the large reduction in web page download time. To style text, you used to have to use the font tag over and over again. You probably also laid out your site with tables, nested tables and spacer gifs. Now all that presentational information can be placed in one CSS document, with each command listed just once.
Saturday, 26th January 2008



Print Stylesheet - The Definitive Guide
By Trenton Moss

A print stylesheet formats a web page so when printed, it automatically prints in a user-friendly format. Print stylesheets have been around for a number of years and have been written about a lot. Yet so few websites implement them, meaning we're left with web pages that frustratingly don't properly print on to paper.
Thursday, 24th January 2008



Using CSS Selectors to Highlight Unedited Form Fields
By Tom Mollerus

At An Event Apart Boston, CSS guru Eric Meyers mentioned an incredibly sensible technique for giving users a simple means of telling which fields in a form they still need to fill out: use attribute selectors in your CSS to highlight form fields which still have a default or empty value after the user submits the form.
Thursday, 3rd January 2008



An Introduction to CSS
By Ben Hunt

CSS (Cascading Style Sheets) is a smart way to add styling information to web pages.While it's possible to add styling to HTML (e.g. using the font tag) HTML should only be used to structure your content, CSS is the only way you should apply styling.
Monday, 17th December 2007



Overlapping tabbed navigation in CSS
By Shape Shed

A tutorial showing how overlapping tabbed navigation is possible in CSS and can be cross-browser compatible, accessible and Javascript free.
Monday, 19th November 2007



Cascading Style Sheets - CSS
By Neil Williams

Style sheets are designed to bring some of the simplicity of word processing styles to HTML. You can define how certain sections of text and code will be displayed, even down to the font and size.
Thursday, 8th November 2007



CSS - Create a Stretchable Elastic Website with Absolute Positioning
By Curt Despres

Using CSS to create a website can take quite a few attempts to start getting the hang of it. But hang in there, it eventually starts making sense. This article is aimed at the new CSS designer looking to easily create an elastic website that will always fill the screen regardless of the viewers screen resolution.
Wednesday, 31st October 2007



CSS Cursors
By Nicole Hernandez

One thing that CSS allows us to use for screen presentation are alternate cursors. This is not the idea of downloading or forcing a download of a cursor, as was done in the past (though that is possible as well), but instead, we use several built in concept cursors.
Tuesday, 30th January 2007



Fluidity and Text Sizing
By Nicole Hernandez

Fluid and liquid layouts are definitely considered the 'ideal' design type right now, and I cannot agree more. I much prefer a fluid design over a set layout. For text we know that relative sizing (meaning the use of em, ex, and percentages) are preferred over the use of pixel sizing.
Tuesday, 8th August 2006



Creating Tableless Sites - Why and Some Basics
By Nicole Hernandez

In a time of web developers who just like to say that 'Tables are Evil' and can't (or won't) explain why, this article will attempt to give you some solid reasons that people create tableless designs. Included are six major benefits of creating tableless sites, and how to sell your desire to alter your website to a resistant manager.
Tuesday, 8th August 2006



Creating Rollover Effect Using CSS List Menus
By Amrit Hallan

Ever seen those fancy links where they change the appearance as soon as you place your mouse cursor on them. See a simple example of a rollover effect here. The CSS definition of this simple example goes like this...
Tuesday, 18th October 2005



CSS Browser Detection - The Complete Guide
By Afonso Ferreira Gomes

Different browsers, different CSS interpretations! There will be a time when you'll need to hide some CSS rules from a particular browser, or even all the CSS file! In this articles I'll try to compile all possible types of Browser detection technics and provide examples. So let's start with the easier one!
Wednesday, 14th September 2005



How to Position Text and Images Exactly
By Will Bontrager

Although I've written several articles that included examples of positioning, such as "Instant Info" and the "No-Kill Pop Box" series, it occurred to me that I've never written an article about how to do the positioning itself.
Wednesday, 29th June 2005



Alternate Stylesheets
By Brandon Cash

Firstly, I'll start off by saying that this technique is only supported in the newest browsers, like Mozilla Firefox. If you've ever gone to a webpage and noticed a little palette appear in the bottom left, this is to switch stylesheets.
Thursday, 23rd June 2005



Creating and Linking External CSS files
By Ades Tynyshev

It is particularly useful to keep one css file for the entire website rather than having individual CSS styles in every page, advantage of having a separate CSS file is, it is easy to update and maintain the look and feel of the entire website from a single file. That is why it is better to create an external CSS file if you have not done so. This tutorial will show you how to convert your internal CSS styles to an external file and how to attach them to a page.
Tuesday, 31st May 2005



Having Different Link Colors on One Page
By Ades Tynyshev

Do you want to have a different color links on different sections of your website? If your answer is yes then you have come to the right tutorial. Often websites have different color backgrounds on different sections of their website, for example content section of your website might have a white background, in contrast footer section might have a darker background color. Problem arises when you have links on the footer, default link-color is blue therefore it might not be very visible on the darker background. Luckily there is a way to solve this problem with CSS which we are going to do next.
Tuesday, 31st May 2005



Fixed Image Background for a page
By Ades Tynyshev

In this tutorial you will learn how to put a fixed image background on your pages, that is the background that stays in the center of your page even when you scroll the page.
Tuesday, 31st May 2005



Links and Styles
By Ades Tynyshev

As you know there are four states of a link, namely: Initial State, Visited State, Mouse Over State and Active State. For example if you were to put the following code between <head></head> tags in the page, all the link states in that page would be red. Which means when you visit the page you will see all the links in read, and when you click on them or hover on them you will not see any change.
Tuesday, 31st May 2005



Changing Table Background on MouseOver
By Ades Tynyshev

This tutorial will teach you how to make a menu like tables that will change background color when you mouseOver. If you have noticed I have used it on my index page.
Tuesday, 31st May 2005



Remove Underlines from Links
By Ades Tynyshev

This tutorial shows you how to manipulate your the underlining of your links using CSS.
Tuesday, 31st May 2005



Define Page Scrollbar Styles
By Ades Tynyshev

Make your page look nicer by applying CSS styles to your page scrollbar.
Tuesday, 31st May 2005



No Print Script
By Ades Tynyshev

Sometimes you might want to protect your online documents from printing. So in that case this little simple script might help. Please note that putting this script does not secure your document, users will still be able to 'copy it and paste it' in the word document and still be able to print it, if you want to secure your document you need other scripts that disable selecting or saving the page..etc.
Tuesday, 31st May 2005



CSS - Maximum benefits
By Zoran Makrevski

What is CSS? CSS is a simple file which controls the visual appearance of a Web page without compromising its structure. Using CSS we can control our font size, font color, link color and many other attributes on our web page. This will make our HTML code much more readable and the page size will be reduced.
Thursday, 26th May 2005



Fun with Hover Link Text
By Will Bontrager

A quick and easy example of how css can allow you to have some fun with your hover actions.
Sunday, 22nd May 2005