Table with caption within DIV

Giganews Newsgroups
Subject: Table with caption within DIV
Posted by:  Andrew Poulos (ap_pr…@hotmail.com)
Date: Mon, 28 Oct 2019

I have a fixed sized DIV in which sits a table.

The table is 100% wide and 100% high to completely fill the DIV. Alas if
the table includes a caption then the table is sized larger than the DIV.

How do I use CSS to adjust the height of the table, if it includes a
caption, so that it completely fills the DIV?

Andrew Poulos

Replies