6 replies [Last post]
SquirrelJ
Offline
Enthusiast
Last seen: 11 years 21 weeks ago
Joined: 2005-07-07
Posts: 122
Points: 0

I have often wonded what would be the best way to have a caption under an image and have always just used photoshop and added text under the picture but it never really looks right. Then i saw this on the following website and was wondering how they would do it???

http://en.wikipedia.org/wiki/Football

I have found the following code in there source but have no idea how you would code it so that it appears like they have it. (Not sure if you are allowed to do this with peoples code but am sure if not it can be sorted out)

Some of the many different codes of football.
Some of the many different codes of football.

Cheers for any help

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 5 years 25 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

What don't you understand

What don't you understand about it?

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

SquirrelJ
Offline
Enthusiast
Last seen: 11 years 21 weeks ago
Joined: 2005-07-07
Posts: 122
Points: 0

just how you would style it

just how you would style it so it would work in all browsers

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 13 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Quote: I have often wonded

Quote:

I have often wonded what would be the best way to have a caption under an image

One way (not necessarily the best, more than a few ways to skin cats) is to use a DL list; dt can provide a top caption, dd an image, another dd the caption below.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

SquirrelJ
Offline
Enthusiast
Last seen: 11 years 21 weeks ago
Joined: 2005-07-07
Posts: 122
Points: 0

Cheers for that Hugo it

Cheers for that Hugo it looks a good option. It dosen't really matter but is it possible to use the asp ad rotator on a DL list??? I know its not the right forum but i'd thougth i'd ask whilst on the subject.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 13 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

SquirrelJ wrote:Cheers for

SquirrelJ wrote:
Cheers for that Hugo it looks a good option. It dosen't really matter but is it possible to use the asp ad rotator on a DL list??? I know its not the right forum but i'd thougth i'd ask whilst on the subject.

Er would have thought so but in all honesty not sure how that works, but vaguely remember you mentioning it in a thread. If it doesn't post to 'Off topic' and see if someone can help.

Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

SquirrelJ
Offline
Enthusiast
Last seen: 11 years 21 weeks ago
Joined: 2005-07-07
Posts: 122
Points: 0

Ok Cheers once again

Ok Cheers once again