/    Sign up×
Community /Pin to ProfileBookmark

Picture Captions?

Is there a way to put a caption, or a note underneath a picture, without having to try and just align things so that they look like they would work?

to post a comment
HTML

7 Comments(s)

Copy linkTweet thisAlerts:
@phpnoviceMar 14.2005 — Something like this -- possibly with adjustments...
<i>
</i>&lt;div&gt;
&lt;img ...&gt;
&lt;p align="center"&gt;Caption&lt;/p&gt;
&lt;/div&gt;
Copy linkTweet thisAlerts:
@kirby101authorMar 14.2005 — Ok, I just tried it, however it didn't work... all it did was put the word "Caption" at the top of the article. Do I need to do something in my CSS with it, by chance? Here's the code I tried:
<i>
</i>&lt;div id ="content"&gt;

&lt;br&gt;

&lt;center&gt;&lt;img src="pictures/marconLogo.gif"&gt;&lt;/center&gt;

&lt;center&gt;
&lt;h3&gt;About Us&lt;/h3&gt;

&lt;h4&gt;About Elaine&lt;/h4&gt;&lt;/center&gt;
&lt;div&gt;
&lt;img class="floaty" src="pictures/staff/elaine.jpg"&gt;
&lt;p align="center"&gt;Caption&lt;/p&gt;
&lt;/div&gt;
&lt;br&gt;&lt;p&gt;In the early 1980's, the Idaho farm economy was hurting. Faced with losing the family farm bevause of low prices, an injured husband who was unable to work, and a renter who was only able to pay half of the farm rent, Elaine Martin entered the construction business in late
1985 with $25,000 she borrowed from her widowed mother.
Copy linkTweet thisAlerts:
@phpnoviceMar 15.2005 — [i]Originally posted by kirby101 [/i]

[B]Ok, I just tried it, however it didn't work... all it did was put the word "Caption" at the top of the article.[/B][/QUOTE]

Silly. That is just what it was supposed to do. Change that word to the caption you desire.
Copy linkTweet thisAlerts:
@kirby101authorMar 15.2005 — heh... Well, perhaps I didn't change it on purpose.

Eitherway, if you go to www.marconid.com/aboutus.html, you will see my problem. it is left aligned. I want it to be right aligned, with the text flowing around it.

You see where I'm comin from?
Copy linkTweet thisAlerts:
@phpnoviceMar 15.2005 — Adjustments. ?

<div style="float:right;">
Copy linkTweet thisAlerts:
@kirby101authorMar 15.2005 — Dude! YOU ROCK! Ok, you officially have my box of kudos.
Copy linkTweet thisAlerts:
@phpnoviceMar 15.2005 — Cheers.
×

Success!

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