Welcome to WebmasterWorld Guest from 54.197.116.116

Forum Moderators: incrediBILL & martinibuster

Message Too Old, No Replies

Making Adsence have 'transparent' background

if you could see your way Clear...

   
9:45 am on Sep 23, 2003 (gmt 0)

10+ Year Member



Dear Jim,

Can you fix it for me to set my Adsense background and border colours to transparent (or 'none' if not CSS-based) as my adsense block sits in a nice side menu with a very subtle background image that I'd like to see through the ad block.

Thank you.

D3mon - age 30

11:12 am on Sep 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you sent this in to Google as feedback?
11:25 am on Sep 23, 2003 (gmt 0)

10+ Year Member



Sorry, not possible. Adsense uses an iFrame...
11:33 am on Sep 23, 2003 (gmt 0)

10+ Year Member



It's possible with Internet Explorer using CSS filters:

<DIV STYLE="width: XXXpx; filter: chroma (color=#FFFFFF)">...here the code...</DIV>

That makes all white in the layer transparent (don't forget to include the width parameter).

Regards

12:04 pm on Sep 23, 2003 (gmt 0)

10+ Year Member



WebWalla - not yet, but probably just as well if it's not possible!

eaden - iFrame? I see no <iframe> tags in my code?

kaijohannkursch - that's woth a look, thanks. >:o)

12:08 pm on Sep 23, 2003 (gmt 0)

10+ Year Member



iFrame? I see no <iframe> tags in my code?

The iframe tag is written by javascript...

12:15 pm on Sep 23, 2003 (gmt 0)

10+ Year Member



Ah sneaky!
Sorry eaden, I didn't realise.
3:09 pm on Sep 23, 2003 (gmt 0)

10+ Year Member



kaijohannkursch

your suggestion works perfectly. Cross browser support isn't great, but it degrades nicely so I'm not bothered too much.

Thanks