html - table-layout:fixed behaves odd on iPhone -
i need responsive table, on small devices add overflow-x:auto
parent , table-layout:fixed
table. code here html
<div class="class1"> <table class="class2">...</table> </div>
css
.class1{overflow-x:auto} .class2{width:640px,table-layout:fixed}
but on iphone when tap rows, tr
-s behave strange,the height starting increase.
did have same problem or know solution?
based on experience problem not in table-layout:fixed
or overflow: auto
. both of them working fine on devices. can try adding overflow-y:hidden
.class1
Comments
Post a Comment