@michal.h21 . It might be easier to chat here. I tried the above command you put in your command.
make4ht -ulm draft -f html5+dvisvgm_hashes sample.tex "htm,pic-m,pic-align,svg,p-width".
It does not work I am afraid. The table width is ignored. The math is fine, but that is the whole point of the question. I want the table column width be fixed, and also the math to stay good as outside the table. I tried your command with `\ifdefined\HCode` in there, and without it. The table column width did not change as it should. Did the width of the column when you tried it? Thanks.