homepage Welcome to WebmasterWorld Guest from 54.224.179.98
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Google / Google News Archive
Forum Library, Charter, Moderator: open

Google News Archive Forum

    
Will putting 1x1 pixel images hurt me?
It would be used to preload my mouseovers
Pegasus




msg:49417
 1:08 pm on Mar 31, 2003 (gmt 0)

I need to find an easy way of preloading my mouseovers, and I have been told that putting them in my site as 1-pixel images, hidden on a coloured background, would be an easy solution.

Will Google penalise me for doing this?

They won't be links or anything.

 

Critter




msg:49418
 1:11 pm on Mar 31, 2003 (gmt 0)

Probably not...I have thought about this in the past and come to the conclusion that, if Google penalized for 1x1 graphics, their search results would disappear :)

A 1x1 image, whether invisible or not, is a valid design tool...a 1x1 invisible link can never be utilized by a real person and therefore is spam.

Peter

soapystar




msg:49419
 2:25 pm on Mar 31, 2003 (gmt 0)

cant you preload with java script?

richmc




msg:49420
 2:31 pm on Mar 31, 2003 (gmt 0)

interesting. never heard of this, but it has some distinct advantages.

using 1x1 images would work in browsers with js disabled and also result in less code = smaller page size.

hetzeld




msg:49421
 2:44 pm on Mar 31, 2003 (gmt 0)

Pegasus,

There's no reason to be penalized for those small gifs if you don't stuff them with keywords or links.
Many sites use small gifs for accurate positionning of elements on the page.

Dan

mrguy




msg:49422
 2:56 pm on Mar 31, 2003 (gmt 0)

Many people use 1x1 for spacers, etc. As long as their is no keywords or links associated with them, you should be ok.

ericjunior




msg:49423
 3:19 pm on Mar 31, 2003 (gmt 0)

1 x 1 images and spacer bars are the only reliable and accurate way i have found to create tables that load the same across both ie and netscape...

I sincerely hope G does not penalise these as i've been using them for ages!

werty




msg:49424
 4:31 pm on Mar 31, 2003 (gmt 0)

What would be some "safe" alt tags to use for the 1x1 image?

Spacer
Blank
Keyword
Company Name
etc.

The reason I ask is that you need "ALT" tags to verify as WC3 HTML4.01

universalis




msg:49425
 5:07 pm on Mar 31, 2003 (gmt 0)

The preferred ALT tag for a spacer should be blank, eg.

<img src="spacer.gif" height="10" width="10" alt="">

This will validate as HTML 4.01.

Eltiti




msg:49426
 6:09 pm on Mar 31, 2003 (gmt 0)

Pegasus,

Since you are using the images for mouseovers (for which you need JavaScript anyway), the best approach is to preload with JavaScript as well (as soapystar suggested). If the user does not support JS (and therefore won't see the mouseovers!), you'll have wasted no bandwidth by preloading, either.

If you *do* use 1x1 GIFs for formatting purposes, using alt="" is the right thing to do (make sure they are not linked, though, or you may get into trouble with the SE).

However, unless you have to support *really* old browsers, using CSS for layout may be a better (and faster) solution.

HTH!

ga_ga




msg:49427
 6:18 pm on Mar 31, 2003 (gmt 0)

Why would you need to preload an image in a page when the user has javascript disabled, just curious.. I'm thinking along the lines of onMouseOver rollovers, which wouldn't (?) work at all without JS - is there something I'm not considering though?

werty




msg:49428
 6:34 pm on Mar 31, 2003 (gmt 0)

Thank you, I will make the changes today.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google News Archive
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved