/    Sign up×
Community /Pin to ProfileBookmark

display: inline-block with Adsense Script

I have 3 divs next to each other with the “display: inline-block” CSS tag. See it here: [url]https://askandanswer.net/[/url]
Now in the third DIV, there is this Google AdSense div (which is on display: block), but if I try to change the DIV’s height to a smaller one, the ad will just flood over the div for some reason. This doesn’t happen if I dont set display: inline-block, but I need that setting.

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@jedaisoulJan 07.2017 — Hi, I'm not sure how this one got missed, but I've had a look at the site and I don't see anything in the third column! So I can't really help. ?
Copy linkTweet thisAlerts:
@james777Feb 02.2017 — try putting an overflow: hidden; for each of the adsense div you have.
×

Success!

Help @phaitonican 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,
)...