Jump to content

Table overflow on mobile


Recommended Posts

If the post author makes the width of the table bigger than the screen can handle, it will overflow. Setting table width to a percentage of post width is the right way to go if the content supports it, but that can cause columns to become too narrow. This is, unfortunately, a limitation of how HTML tables work per the specification.

 

@Underleaf Try using "width: 100%; max-width: 1000px;" in the table style.

Link to comment
Share on other sites

29 minutes ago, Eric said:

If the post author makes the width of the table bigger than the screen can handle, it will overflow. Setting table width to a percentage of post width is the right way to go if the content supports it, but that can cause columns to become too narrow. This is, unfortunately, a limitation of how HTML tables work per the specification.

 

@Underleaf Try using "width: 100%; max-width: 1000px;" in the table style.

Will do!  Thanks!

Link to comment
Share on other sites

Weird. I copy-pasted the entire fieldset and that worked, but just the table inside the fieldset did not. So I suspect it's something about the allowed content inside the fieldset, which we can fix.

Link to comment
Share on other sites

×
×
  • Create New...