PDA

View Full Version : Single Most Common Mistake


pageoneresults
21-04-2002, 22:36/10:36PM
Okay, this is strictly for those who may be joining us and are new to web design.

The Single Most Common Mistake in Web Design

Here's a good one for all of you new web site designers and maybe some of you ole' timers! You do know what this means, right?

<body bgcolor="#ffffff">

That specifies that the background color of the web page is white. Now, do you know what this means?

<table width="100%">
<tr>
<td width="100%" bgcolor="#000000">
<font color="#ffffff">Heading Here</font></td>
</tr>
</table>

This specifies that you have a table and it has a cell color of black (#000000) and a text color of white (#ffffff).

Okay, do you know what we've just done? We've just designed a nice table with a black cell color that has a white heading in it. Great reverse heading effect! Not!

You CANNOT have text that is the same color as your page background. This will set off the hidden text spam filters with the search engines as soon as that spider matches the two together!

I always recommend that if you are using the reverse heading effect, and you need light text against a dark background, use #efefef instead of #ffffff. It won't set off the spam filters. When users print those pages and have their background printing turned off, at least they will see somewhat visible copy. The #efefef is a very light gray color.

This is The Single Most Common Mistake made with new web site designers and some ole' timers who never realized that they were doing that. Never, ever, use white text (#ffffff).

Addendum: The above tip references pages that have the default white background or pages that have a background color value of #ffffff assigned to the <body> tag. This applies to any color values. If your page background is #000000 and you have text that is #000000 against a white table or cell background, you now have what is flagged as hidden text by the search engine spiders.

If you don't specify background or text colors for your pages, the default is black on white. Except for NN4.x which is black on gray, hence the reason for #ffffff for your page background color. This eliminates the default gray background in NN4.x.

For you more advanced designers, you will most likely be controlling your font colors through the use of CSS (Cascading Style Sheets). Just be sure that you've got a body background color specified and a default font color. Then double check all other colors to make sure that you don't have any font colors that match any of your background colors.

Oh yes, some spiders are peeking at CSS. I believe Slurp got busted traversing CSS files not long ago.

Same Font Color + Same Background Color = Spam

Believe it or not, most of the time when you see this, the designer was not aware of the issue or just forgot. Its a very simple mistake to make and one that could cause problems, so be careful!

Kal
22-04-2002, 01:12/01:12AM
Thanks P1. Some of us had been discussing this very issue here (http://www.ihelpyouservices.com/forums/t2876/s.html) . I'm glad you could clarify it for us. :thumb:

pageoneresults
22-04-2002, 01:26/01:26AM
Aw man, what did I get myself into. I sure hope we don't end up debating this one. This is something that I picked up years ago and have always followed due to information received from a variety of sources when it came to this subject.

Now someone is going to make me dig up all that history, if I even have it (and I'm anal), so I can back up this tip. I could of sworn I read this is one of the SE's general submission tips pages.

P.S. I have been participating in a FrontPage forum and posted this tip also. Someone replied stating that they think this may be the reason for their site not getting indexed. I'll be sure to stay in touch with that person to see if the suggested changes had any effect.

pageoneresults
22-04-2002, 01:33/01:33AM
I should point out that this is not a very good design practice also. Ever print one of those pages that have dark backrounds and white reverse text? Okay, now try printing one with your print background and images turned off! :)

From the IE menu, go to > Tools > Internet Options > Advanced > Printing

Uncheck the box that reads print background and images.

And please don't try to tell me that not many people know about this. I hate printing pages that have solid colors, toner is not cheap! Especially at 1200 x 1200!

blaire576
18-04-2006, 01:12/01:12AM
Originally posted by pageoneresults
I should point out that this is not a very good design practice also. Ever print one of those pages that have dark backrounds and white reverse text? Okay, now try printing one with your print background and images turned off! :)

From the IE menu, go to > Tools > Internet Options > Advanced > Printing

Uncheck the box that reads print background and images.

And please don't try to tell me that not many people know about this. I hate printing pages that have solid colors, toner is not cheap! Especially at 1200 x 1200!

yes i agree!