Cell1 Are there any other solutions to the problem of colspan="1.5" not working?-PHP Chinese Network Q&A
Are there any other solutions to the problem of colspan="1.5" not working?
P粉368878176
P粉368878176 2024-03-30 09:12:41
0
1
371

This is the table I need I can get the first and second rows easily, but when I try to make the third row good, I'm breaking the second row.

I tried using width attribute and colspan but nothing worked.

Cell 1
Cell 2 Cell 3
Cell 4 Cell 5 Cell 6

P粉368878176
P粉368878176

reply all (1)
P粉262073176

will fit its content by default, so each column does not need to be equal width. So manually assign equal column widths by assigningtable-layout:fixedto
and then assign each width to the first< ; into allocate equal width to each column. tr>or missing allocated width for(of coursetdorthalso works as a selector), see example below.

table { table-layout: fixed; } td { width: 16.5%; text-align: center; }
of the first
I
II III
IV V VI

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!