I want to have one table header be centered over two table columns side by side. Is this possible?
相关问题
- Views base64 encoded blob in HTML with PHP
- Is there a way to play audio on a mobile browser w
- HTML form is not sending $_POST values
- implementing html5 drag and drop photos with knock
-
Why does the box-shadow property not apply to a
We can do it in better way.
Please visit Table Ref From w3.org if you want to know more.
Of course. Please refer to this page. You are looking for attribute called
colspan
for table headers cells.If you only have 2 columns then I would suggest using
<caption>
. Otherwise, use colspan as suggested in other answers.<th colspan="2">. This .</th>
To extrapolate a bit...
That should give you enough to work from.