Submit a CSS related link →

Posh CSS

For the modern day web designer.

Quick Tip: Centered Fake Floats

# Linked to 14 May 2009, 02:30 in by Sam Brown

Up till (relatively) recently, I had a major gripe with HTML & CSS. I couldn’t find a proper, efficient, semantic way to center align left floated elements.
Gee, what a mouthful, even writing about it gets me edgy. After a bit of tinkering, I found an efficient and (mostly) cross-browser way to center elements, without resolving to floats.

Read more at blog.sugarenia.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.