CSS

Cascading Style Sheets are used to define the presentation layer of websites. How CSS works is not always self-evident, so many of these articles explain various aspects of using CSS.

It’s “class”, not “CSS class”

There is nothing called a “CSS class” in HTML or CSS, so please refer to values of the HTML class attribute as classes or class names instead.

Posted on February 12, 2009

Use CSS Diagnostics with Stylish to find bad HTML

Combining the concept of diagnostic CSS with the Stylish Firefox extension makes it easy to apply CSS that reveals invalid or deprecated HTML to any site you want.

Posted on February 5, 2009

Find inline CSS and JavaScript with Inline Code Finder

Inline Code Finder is a neat quality assurance tool that will find and highlight any elements that have inline events, inline styles, or javascript: links.

Posted on December 16, 2008

Reveal new window links and links to non-HTML files with a user stylesheet

By telling your browser to apply a user stylesheet you can highlight links that open in a new window or point to non-HTML documents, making them less obtrusive.

Posted on December 15, 2008

The order of link pseudo-classes matters

The order in which you define the different link states affects the result. My preferred order is :link, :visited, :hover, :focus, :active.

Posted on November 18, 2008

Specify a maximum width for em-based layouts

When creating layouts with an em-based width, specify a maximum width to avoid horizontal scrolling for users who increase text size.

Posted on March 3, 2008

The Art and Science of CSS (Book review)

Cameron Adams, Jina Bolton, David Johnson, Steve Smith, and Jonathan Snook get together to deliver some good tips on implementing design elements with CSS.

Posted on January 29, 2008

Choose an accessible image replacement method

When you have to use image replacement for text, choose a method that causes as few problems as possible for as few people as possible.

Posted on December 3, 2007

Screen readers sometimes ignore display:none

Using display:none does not always hide content from screen readers like JAWS and Window-Eyes, but there is a workaround.

Posted on November 7, 2007

CSS diagnostics with XRAY and MRI

John Allsopp has written a couple of handy bookmarklets that help you troubleshoot CSS without having to install a browser extension.

Posted on October 30, 2007

The resurrection of downloadable Web fonts

Downloadable fonts in TrueType format are now supported by nightly builds of Apple WebKit. Will it catch on this time around?

Posted on October 9, 2007

Mastering Integrated HTML and CSS (Book review)

Virginia DeBolt teaches beginners and designers and developers who need to update their skills how to write standards-based HTML and CSS.

Posted on July 30, 2007

Westciv’s free Web standards courses restarting

The first section of Westciv’s 12 week online course on CSS was published on Monday, June 18, 2007.

Posted on June 20, 2007

Keep HTML and CSS out of my inbox. Please.

Jeffrey Zeldman thinks HTML and CSS in e-mail sucks, and I agree.

Posted on June 11, 2007

Reasons for code bloat

Chris Heilmann talks about what causes the code on Web projects to grow out of control.

Posted on June 4, 2007

Is it time for CSS 2.2?

Is it time to form a 2nd Generation CSS Samurai to create a CSS 2.2 specification?

Posted on May 25, 2007

Why styling form controls with CSS is problematic

Eric Meyer explains the technical reasons for form controls being so hard to style consistently across platforms.

Posted on May 24, 2007

Creating bulletproof graphic link buttons with CSS

How to use CSS and two images to create flexible, shrinkwrapping, image based link buttons.

Posted on May 22, 2007

How to prevent HTML tables from becoming too wide

A rarely used CSS property comes to the rescue when dealing with oversized content in tables.

Posted on April 25, 2007

Transcending CSS: The Fine Art of Web Design (Book review)

Andy Clarke combines technical know-how and wicked graphic design skills to create a fantastic, forward-looking book on CSS.

Posted on April 20, 2007

Page navigation

Page 1 | Page 2 | Page 3 | Page 4 | Page 5 | Page 6 | Page 7 | Page 8 | Page 9 | Page 10 | Page 11 | Page 12 | Page 13 | Page 14 | Page 15 | Page 16 | Page 17 | Page 18 | Page 19 | Page 20 | Page 21

Archive contents