Forum Moderators: martinibuster

Message Too Old, No Replies

TRANSPARENT background please?

         

batata

12:36 am on Jun 23, 2004 (gmt 0)

10+ Year Member



Hi,
is there ANY way to make that Adsense BOX with transparent background? they give you all the COLORS you want but no the "no color" option!
THANKS!

asp4bunnies

4:09 am on Jun 23, 2004 (gmt 0)

10+ Year Member



why don't you just match the color to your website (even if you have different color pages, you can still match them dynamically).

I'd guess the reason Google can't do this is because the iframe that the ad sits in cannot be dynamic.

batata

4:20 am on Jun 23, 2004 (gmt 0)

10+ Year Member



Thanks, for your response, but I don't have 1 color to mach, I have a blend of colors.
I'll find something to make it look neat...I hope.
:)

luigi

9:10 am on Jun 23, 2004 (gmt 0)

10+ Year Member



This could be, at your own risk, with AdSense search:

if in the AdSense search code you change the value of "BGC" you can have transparent background.

If you have a #F5F5DC background you have

<input type=hidden name=cof value='GALT:#000080;GL:1;DIV:#CE3000;VLC:000069;AH:center;BGC:F5F5DC; .......

if you change to

<input type=hidden name=cof value='GALT:#000080;GL:1;DIV:#CE3000;VLC:000069;AH:center;BGC:;.....

with nothing beetwen "BGC:" and ";" you obtain a transparent background!

Never_again

4:58 pm on Jun 23, 2004 (gmt 0)

10+ Year Member



So, if this can be done with the code change you suggest, then Google should be able to offer it as an option -- one which I'd really like.

At this point, there is not way I'd mess with the code and violate the TOS.

batata

5:03 pm on Jun 23, 2004 (gmt 0)

10+ Year Member



I don't see that code on my Ad sense. The one you refered is for AdSense search, correct?

the code I have regarding the background color is:
google_color_bg = "ffffff";