/    Sign up×
Community /Pin to ProfileBookmark

Div with overflow, image with absolute positioning

Hi guys,

I have a div with an overflow, and inside of that is an image with absolute positioning (it cannot be relative, btw), well, as you might have guessed the problem is that when you scroll down the div, the absolute image floats up and eventually out of the div (where as it should be hidden)

Let me know if there are any ‘fixes’ or workarounds for this.

Thanks everyone.

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@ray326Jul 24.2008 — Make the div position:relative.
×

Success!

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