Arp Arp - 1 year ago 108
CSS Question

table-layout:fixed behaves odd on iPhone

I need to get responsive table, so on small devices I add

to its parent and
to the table.
The code is here

<div class="class1">
<table class="class2">...</table>



But on iPhone when I tap to the rows,
-s behave very strange,the height is starting to increase.

Did anyone have the same problem or know the solution?

Answer Source

Based on my experience the problem is not in table-layout:fixed or overflow: auto. Both of them are working fine on devices. You can try adding overflow-y:hidden to .class1

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download