Just create a display table parent and a display:table-cell for the children and the browsers will automatically construct the table-row.) (There is no need for the table-row element when you have separate tables with only one row. You only need table-rows when you have the same integrity of columns throughout the table. If you are not matching columns then just create a new table with the number of columns you need for that row. the columns will need to match (unlike html tables there is no colspan or rowspan but those attributes are mostly only needed for tabular content anyway). Table rows are for creating more rows that are tied to the appearance of the first row in the table i.e. Without a clear example of the full layout you intend to make then its hard to offer suggestions because it all depends on what comes next? I was hoping this code would work, but it just sticks the embedded table in a pseudo Row-2, Col-2. With CSS tables you nest tables in order to span rows or columns.įor example: A two column table nested as the second row of a one column table gives you three cells - one in the first row and two in the second row.
0 Comments
Leave a Reply. |