/    Sign up×
Community /Pin to ProfileBookmark

css and adsense referral ad unit

Hi ,

I am using google adsense program . In my site i use inline css to remove a underline from linked text . I use Frontpage. Now the problem is every link inn my site’s page is ok with hover and without underline.
To hover there is
” <style fprolloverstyle>A:hover {color: #FF0000; font-weight: bold}
</style>

And after creating each linked text there is

” style=”text-decoration: none ” . all links and adsense referral text ad hovers.
But there is a underline with the referral text like this one –
[U][B]Firefox with google toolbar[/B][/U]

How can I remove that underline from the referral ad unit ?

Please help.

to post a comment
CSS

5 Comments(s)

Copy linkTweet thisAlerts:
@felgallMay 17.2007 — You can't because the ads are not on your page - they are being displayed from Google's site via an iframe and all the cross domain security blocks you from being able to affect it at all. The only options you have for formatting it are the parameters set in the JavaScript. Also any attempt to make changes beyond that are against the terms of service you agreed to and you will get banned.
Copy linkTweet thisAlerts:
@anando_rahmanauthorMay 19.2007 — thanks felgall for your reply. But If it is not possible to remove the underline than how does hover works without editing the ad code ?

Again in a blog i have found that as the template is edited with text-decoration: none; the firefox with google toolbar has no underline ! that has also been done by editing the blogger template, npt changing ad code. Isn't there any way to make the same outside the blogspot domain ?
Copy linkTweet thisAlerts:
@felgallMay 19.2007 — The ad is in a completely separate web page that is being displayed in an iframe in your page. Because that web page is loading from a different domain than your page is loading from you have no access whatsoever to change the way that the ads appear other than for those specific JavaScript variables that the script code accepts to define how you want the ads to appear.

I have a hover effect that applies to all of the links on all of my pages except for the Google Ads which ignore all of my settings. Which browser are you using where you see the hover effect you are applying to your page work with the Google ads?
Copy linkTweet thisAlerts:
@anando_rahmanauthorMay 21.2007 — hi,

thanks for replying again. As you asked that which browsers supports the hover effect on Google referral ( not text ad unit ) ad unit, let me inform you that All the 3 browsers Firefox , Opera, IE supports that hover effect on the firefox referral text unit. But hover doesn't work on adsense for contents text ad units ( like laderboard, wide skyscraper . . . ) .
Copy linkTweet thisAlerts:
@felgallMay 21.2007 — Maybe the Firefox referral unit is inserted directly into your page (I don't display that one so I haven't looked at the code). The standard ad blocks and ad links are all inside iframes loaded from Google's site directly.
×

Success!

Help @anando_rahman spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...