skip to content

How to Make Coloured, Non-Gradient Backgrounds in CSS

February 22nd, 2007

Inspired by Matthew Inman's "How to Make Square Corners with CSS", I hereby set out on a journey to reveal the one true technique to create coloured, non-gradient backgrounds for divs, paragraphs and other XHTML elements.  After literally seconds of painful research, I'll show you how to do this technique yourself.  Here's a sample of what you can expect to see.
coloured non-gradient backgrounds using CSS

To get it to work properly cross browser, you'll need to install prototype, scriptaculous, you'll need a server running Apache 3.14159 or higher, and...

oh hell, just go read his article, funny stuff...

This entry was made on February 22nd, 2007 @ 9:25 and filed into Noteworthy, XHTML & CSS.

Comments

Stephen Lounsbury wrote on February 23rd, 2007 @ 1:16

Funny article.  I think the ensuing argument about tables in the comments only adds to it!  ;)

Rick wrote on February 24th, 2007 @ 12:50

Thanks, I always wondered how this technique worked, very retro!

Cliff Persaud wrote on February 28th, 2007 @ 7:35

Could you post an article on how tables for layout are the best thing since sliced bread?

John wrote on March 06th, 2007 @ 0:01

erm… funny.

Post a Comment

Sorry, comments are automatically closed after 45 days, or sooner if one entry gets targetted by spammers. Why not contact me directly?