1. About.com
  2. Computing & Technology
  3. Web Design / HTML

Discuss in my forum

Jennifer Kyrnin

Floating images within your layout can be automated with CSS 3

By , About.com Guide   July 20, 2010

Follow me on:

The CSS pseudo-class nth-of-type allows you to add images to your content and then float them on alternating sides. With this simple technique you can dress up your content with images and they aren't all in one long line.

Help with Pseudo-Classes

Comments
July 20, 2010 at 10:32 pm
(1) Bradford Sherrill says:

The pseudo-class in css 2 generally speaking when used properly is awesome. When we can begin to use css3 fully in website design (when IE 9 launches) it will become very awesome! I was just able to use the pseudo-class nth-of-type recently and all I have to say is AWESOME!

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2012 About.com. All rights reserved. 

A part of The New York Times Company.