/    Sign up×
Community /Pin to ProfileBookmark

Overlapping images

Just in case I’m going about this wrong in my other post I’m asking for a fresh approach, without including my faulty code.

I want to display a line of images with some of those images having a second transparent image on top. Problem I had before was that when i put 2 images in a div tag with different z-index and absolute positioning the div tag messed up the flow in netscape.

I believe i need 2 css classes. One for a div tag with a single image and another for a div tag containing 2 images overlapped.

Ted.

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@FangSep 13.2004 — Try this:
<img>
<img>
<img>
<div style="display:inline;>
<img style="z-index: 2;">
<img style="z-index: 1;">
</div>
<img>
Copy linkTweet thisAlerts:
@ted_trippinauthorSep 13.2004 — Hi fang,

That didnt work, just displayed the images next to each other instead of stacking them.
×

Success!

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