/    Sign up×
Community /Pin to ProfileBookmark

Images and text

Hi,

If I have 3 consecutive images right next to eachother, what would be the best way to put test on top of them

text text

IMAGE IMAGE
IMAGE IMAGE
IMAGE IMAGE
IMAGE IMAGE

This is what I have that didnt work:

[code=html]
#imageGroup img{
float:left;
padding: 2px;
border: 1px solid #000000;
}

<div id=”imageGroup”>
<a href=”forms.php”>Download Forms
<IMG SRC=”forms.jpg” alt=”Download forms for your event”></a>
<a href=”songlists.php”>View Songlists
<IMG SRC=”songlists.jpg” alt=”View songlists”></a>
<a href=”contact.php”>Contact Us
<IMG SRC=”contact.jpg” alt=”Contact Us about your event”></a>
</div>
[/code]

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@the_treeFeb 25.2006 — display: block;? I'm not sure what you're asking.
Copy linkTweet thisAlerts:
@comptech520authorFeb 25.2006 — I am looking to have 3 images right next to eachother

with text directly above each of the 3 images
Copy linkTweet thisAlerts:
@KravvitzFeb 25.2006 — Try this.
#imageGroup a {
float:left;
}
#imageGroup img {
display: block;
padding: 2px;
border: 1px solid #000000;
}
×

Success!

Help @comptech520 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.2,
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: @meenaratha,
tipped: article
amount: 1000 SATS,

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

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