I'm trying to align different tables with different number of columns, so the first two columns are aligned and the rest are independent, but using% is very difficult, and when the window is resized, the loss is balanced.
This is why I tried to align the mix with% and px on td, ex.
<table> <tr> <td width="100px"></td> <td width="100px"></td> <td width="50%"></td> <td width="20%"></td> </tr> </table> <table> <tr> <td width="100px"></td> <td width="100px"></td> <td width="70%"></td> </tr> </table>
But as it does not look logical, it does not seem to work.
Is there any way to get this job or an alternative?
colspan. , , TD + , ( 1). , , , .
, , ( TD-, TDs, ), , , ( rtl CSS), , TD , colspan ( , TD , )
EDIT: , , . 2 , (DIV), , 100%. div, . , , , , .
... ?. . ...
% px, % . 500px, 50% 250px ..
, . , , , , .
width style:
width
td style="width:120px"
Source: https://habr.com/ru/post/1728655/More articles:Android SDK error after creating emulator - androidbash script date / time of execution - datejavac compile error - "... abstract, cannot be an instance" - javaseam-gen does not create EntityQuery interfaces for @ManyToMany members - seamWCF Caching ChannelFactories for Multiple ASP.NET Users - c #Improving SQL performance when choosing to perform calculations - performanceSubsonic query design for hiding (Guid) - c #C ++ error LNK2019 && fatal error LNK1120: 1 unsolved external - c ++Keyboard Simulation - objective-cValidating a field using the Hibernate Validator (3.1.0.GA) - hibernate-validatorAll Articles