/    Sign up×
Community /Pin to ProfileBookmark

close button above an img

i have an image in the size of 200 on 250
and i want to make On the image a close buttton (can be graphic or text) above the image
how do i do it?
thnaks in advance
Peleg

to post a comment
JavaScript

5 Comments(s)

Copy linkTweet thisAlerts:
@gil_davisAug 24.2003 — What do you mean by "above the image"?
Copy linkTweet thisAlerts:
@pelegk1authorAug 24.2003 — i want in the up-right corner of the image,to put

the button
Copy linkTweet thisAlerts:
@David_HarrisonAug 24.2003 — Hows this:

[upl-file uuid=a3376ae4-a48d-4727-88d9-1f975156eafc size=444B]pelegk1.txt[/upl-file]
Copy linkTweet thisAlerts:
@pelegk1authorAug 25.2003 — i will try to use it and see if it helps me

by the way how do i add to this code an image?
Copy linkTweet thisAlerts:
@David_HarrisonAug 25.2003 — In the head of the image you will find this:

background-image:url(image.png);background-repeat:no-repeat;background:#f00;

width:200px;height:250px;


Change image.png in here:

background-image:url(image.png);

to whatever the source of you image is.

Change these two number values to change the size of the div tag to suit the size of the image:

width:200px;height:250px;
×

Success!

Help @pelegk1 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 6.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: @nearjob,
tipped: article
amount: 1000 SATS,

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

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...