The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Add captions to images within table
James D
post Feb 10 2021, 10:22 PM
Post #1





Group: Members
Posts: 1
Joined: 10-February 21
Member No.: 27,787



Hi, my website is www.jamesdurling.ca and I figured out how to add a photo gallery but can't figure out how to add image captions that look good. Just adding a caption tag following the IMG line in HTMl works but does not appear well. Perhaps I need more padding below the images? ,,
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Feb 11 2021, 04:53 AM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,732
Joined: 9-August 06
Member No.: 6



QUOTE(James D @ Feb 11 2021, 04:22 AM) *

Hi, my website is www.jamesdurling.ca and I figured out how to add a photo gallery but can't figure out how to add image captions that look good. Just adding a caption tag following the IMG line in HTMl works but does not appear well. Perhaps I need more padding below the images? ,,


The photos don't seem to load. Or are those icons placeholders? Where to you want your captions? Below the images or somewhere else?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Eriberto
post Feb 17 2021, 11:14 PM
Post #3





Group: Banned
Posts: 2
Joined: 17-February 21
Member No.: 27,805



QUOTE(James D @ Feb 10 2021, 10:22 PM) *

Hi, my website is www.jamesdurling.ca and I figured out how to add a photo gallery but can't figure out how to add image captions that look good. Just adding a caption tag following the IMG line in HTMl works but does not appear well. Perhaps I need more padding below the images? ,,


The <caption> tag defines a table caption. The <caption> tag must be inserted immediately after the <table> tag. Tip: By default, a table caption will be center-aligned above a table. However, the CSS properties text-align and caption-side can be used to align and place the caption.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Feb 18 2021, 01:56 AM
Post #4


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,732
Joined: 9-August 06
Member No.: 6



James wants captions for the images, not for the table.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 26th April 2024 - 11:32 PM