1
Okay let’s see:
//PHONE
<table>
<tr>
<td>COL 1</td>
<td>COL 2</td>
</tr>
<tr>
<td>COL 1</td>
<td>COL 2</td>
</tr>
</table>
//TABLET E MAIORES
@media only screen and (max-width : 768px) { table>tr>td {...} }
@media only screen and (max-width : 1024px) { table>tr>td {...} }
<table>
<tr>
<td>COL 1</td>
<td>COL 2</td>
<td>COL 3</td>
</tr>
<tr>
<td>COL 1</td>
</tr>
</table>
Is it possible to do this? When on the mobile a tr with two td, on tablets they start to have a tr with 3 td after with 4 and so on...
I agree you can’t change HTML but you can hide/show right?
– Sergio
Right, but hiding/showing won’t solve your problem. Right would be Ivs with percentages for each device/screen size.
– LipESprY
Yes true, but with
table{ width: 100%;}
seems to work well: http://jsfiddle.net/x6rckfsp/1/– Sergio
So. Because of his doubt, it would be normal: width:50% and with the media query would be with width: 33%. The doubt is to position the columns, and not hide them.
– LipESprY