/    Sign up×
Community /Pin to ProfileBookmark

Layers relative to centered image

I am wondering how I can make a layer stick to an image that in centered to the page.

I appreciate any help!

Thanks

to post a comment
HTML

4 Comments(s)

Copy linkTweet thisAlerts:
@The_Little_GuyMar 22.2005 — What? That didn't make much sense.
Copy linkTweet thisAlerts:
@PeOfEoMar 22.2005 — [COLOR=deeppink]There is no such thing as a 'layer'... ilayer and layer or not actually html http://www.w3.org/TR/html401/index/elements.html . You can put an image within a block level element or position block level elements next to a page yes.



What exactly do you want to do? Like put a caption next to this image which will be centered?[/COLOR]
Copy linkTweet thisAlerts:
@OuterBoxauthorMar 22.2005 — Sorry, a layer appear relative to an image. I am trying to make layers with text appear on a mouseover of an image. The main site is centered.
Copy linkTweet thisAlerts:
@PeOfEoMar 22.2005 — [COLOR=deeppink]Layer is not an element. There was a tag that netscape supported and ie somewhat supports called layer, but it is not valid html at all. I just want to make that clear like nixon.



Just have a div and within it put the image and another div. The use the onmouseover event handler to change the visibility of the other div within the containing div. I could furnish some code for this later on.[/COLOR]
×

Success!

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