View Full Version : retrieving external CSS properties for AdSense

07-15-2004, 09:26 PM

I found that tutorial
and as suggested I came here to get some help because I don't know JS syntax at all.

My site use Google AdSense and LOTS of external CSS files,
users are even able to create their own,
so I really need the ads to dynamically fit the CSS.

AdSense code :

<script type="text/javascript">
google_ad_client = "pub-1814817475011457";
google_color_text = "999999";
google_ad_channel ="4693942683";
google_ad_type = "text";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "999999";
google_color_url = "0066FF";

<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

Example of CSS file :

<style type='text/css' media='screen'>@import "http://domain.com/banana.css";</style>

Example of property :

.pineapple {
color: #00ff00;

Could someone please write me the full syntax with google_color_link (for example) ?
Thanks by advance.