floats-in-table-caption-001.html (764B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <link rel="author" title="David Grogan" href="dgrogan@chromium.org"> 4 <link rel="help" href="https://www.w3.org/TR/CSS22/tables.html#model"> 5 <link rel="match" href="floats-in-table-caption-001-ref.html"> 6 <meta name="assert" content="Basic floats are honored inside a caption" /> 7 <title> 8 Caption block containers are rendered same as normal block boxes 9 </title> 10 11 <p> 12 The words floated and inline should be legible below, with inline appearing just 13 to the right of the border surrounding floated. 14 </p> 15 16 <table> 17 <!-- 200px allows floated and inline to not wrap --> 18 <caption style="text-align:left; width:200px"> 19 <div style="float:left; border: 1px solid black;"> 20 floated 21 </div> 22 inline 23 </caption> 24 </table>