The Hot Iron

A journal on business, technology and occasional diversions by Mike Maddaloni

Friday, July 27, 2007

Please Set Default Web Page Background Color

Years ago I worked on a huge Web project for a huge company where the smallest problem became a crisis. We started getting reports of a “gray screen” problem for many users when they first went into the application. In the end, we found since these users were behind a proxy server, it took a few seconds for the first page to load, and as a result the browser was displaying a blank page in the default background color, which for Internet Explorer 4 was gray.

From that point in 1999 to today, I always override the default background color of the browser – which today for both IE and Firefox is white – to lime green. Why? It is a great way to test if a default background color is set, as well as if there are any images off even a pixel, as lime green tends to stand out.

Sometimes having lime green is annoying, but is necessary for howI work. For some reason, many, many Web designers and developers neglect to set the background color on a Web page. Why? I do not know. It’s not difficult to do. In CSS you can use the background-color property for the body selector and give it a hex value for white or whatever color you are using. And for the old schoolers the bgcolor attribute for the body tag, but let’s not go there.

So who’s guilty? Too many to mention here. One example is the much-hyped "new" design for the Chicago Tribune’s Web site. Here’s what the home page looks like to me:

screen shot of Chicago Tribune Web site

What I found interesting is the entire site is not background colorless. When I read Eric Zorn’s blog, it is green, but Maureen Ryan’s blog is white.

Some of you may say what is the big deal – just don’t set the background color to lime green, Mike. Not setting the background color is sloppy and incomplete coding, and when there is a change later that requires a color, then having missing colors will cause for more work. Realizing there is a default color helps in the design of sites for those who require a different color, namely those with a visual impairment.

I’ll stay on my soapbox for a bit more if anyone has any comments.


Posted by Mike Maddaloni on 07/27 at 08:25 AM
Technology • (4) Comments • (0) TrackbacksPermalink Bookmark and Share


Comments

I think allot of webmasters dont know this…Atleast i never heard of it before…

Picture of marco Comment by marco
on 08/01/08 at 08:31 AM
 


Hi Marco - Thanks for visiting!

Even a year after I wrote this, I still unfortunately find more and more people who don’t know this.

mp/m

Picture of Mike Maddaloni Comment by Mike Maddaloni
on 08/01/08 at 08:36 AM
 


i love doing hair and this article helped me alot

Picture of Deja Martin Comment by Deja Martin
on 12/12/08 at 08:58 AM
 


Hi Deja - I am glad it helped!

mp/m

Picture of Mike Maddaloni Comment by Mike Maddaloni
on 12/12/08 at 10:32 AM
 


Page 1 of 1 pages


Post a Comment

Note: Comment moderation is active, and your comment will be viewable once it is reviewed.

Name:

Email:

Location:

URL:

Remember my personal information

Notify me of follow-up comments?

To ensure you are a human, please answer the following question:

What is 2 + 3 (spell out the word, no numbers)?

<< Return to home

 

 

About The Hot Iron

photo of Mike Maddaloni of Dunkirk Systems, LLC

The Hot Iron strives to present unique content and perspective on business, technology and other topics by Mike Maddaloni, founder and president of Dunkirk Systems, LLC, an Internet consulting firm based in Chicago.

Subscribe by Email

Enter your email address:

Search


Advanced Search

Most Recent Entries

Categories

Blogs I Read

Notable Links

Follow @TheHotIron on
Follow @TheHotIron on Twitter

Be an organ and tissue donor

Listen to a podcast of this feed from odiogo

Add to Technorati Favorites

 

this site powered by Dunkirk Systems, LLC

The Hot Iron runs on ExpressionEngine