View Single Post
Old 11-22-2022, 11:36 PM   #8
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,628
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by Tex2002ans View Post
If you insist on using <caption>, you could use <p>s (or any other markup) inside like:

Code:
<table>
  <caption>
	<p class="tabletitle">LSAT-560467-S</p>
	<p class="tabletitle">DATA TRANSCRIPT 463/511-001</p>
	<p class="tabletitle">SUBJECT SITE: 231.957 (North-eastern seaboard: CT, NY, NJ)</p>
  </caption>
  
  [... Rest of table here...]
</table>
---

You don't have to use <br/>.

You can use all the fancy markup you want inside of a <caption>... <p>, <span>, <i>/<em>, whatever.

It's the same as a <td> or <th>. You can use those tags bare, or you could stick extra markup inside those cells...
Oh, that is great info. So the <caption> is more like a div or section tag, rather than a paragraph tag.
I'll add that little trick to my cheat sheet of code.

I'll have a read through your links. Thanks for the informative post
Karellen is online now   Reply With Quote