Submit a CSS related link →

Posh CSS

For the modern day web designer.

CSS Opacity That Doesn’t Affect Child Elements

# Linked to 3 August 2009, 01:21 in by Sam Brown

This is a quick tip to demonstrate a way to work around the problem of child elements in your HTML inheriting the “alpha” settings of their parent. This tip is not necessarily recommended, because it creates extra markup and is a little bit messy. But I’m sure it could come in handy in a rare case, depending on the layout of the elements involved, the content, the type of site, etc.

Read more at www.impressivewebs.com →

Sam Brown

Sam Brown is a freelance interface designer and web standards developer based in Edinburgh, Scotland. Sam's work can be seen at Massive Blue, blogs at Sam Brown and is on Twitter at @sambrown.