Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to get table to shrink on iPhone/ mobile device. Reply To: How to get table to shrink on iPhone/ mobile device.

#151822
Designer42
Participant

@pittles78

You padding on your table cells are blowing out the layout of the cells. Use percentages instead if you want the padding. Otherwise lose the padding all together or just have padding for the top and bottom and shrink the padding to 2px for left and right for mobile.
It is not pretty but it will get the job done. If anything you have a ton of margin on the left of the layout for your content. Shrink the margin and that will afford you more space for a table.