/    Sign up×
Community /Pin to ProfileBookmark

positioning text below image

Hi all

I have a html code:

<a href=”link” >
<img style=”position:absolute; top:400px; left:150px; width:200px; height:100px” src=”images/funk.jpg” />
</a>

I want to write a text below this image.
How can i do this?

Regards

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@dan12345Apr 03.2016 — you could also replace figure and figcaption with div elements and it would work


[CODE]


<figure style="position:absolute; top:400px; left:150px; width:200px; height:100px" >

<a href="#">
<img src=src="images/funk.jpg"> </a>
<figcaption>
Caption Text

</figcaption>

</figure>

[/CODE]
Copy linkTweet thisAlerts:
@fx7authorApr 03.2016 — thanks i solved it with p tag positioning
×

Success!

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