• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Responsive view of table BBCode


Active member

I need to add tables frequently in my posts. So I defined bbcode for adding html tables inside the post. The only issue is, when table width is more than device width (e.g. lots of columns), the responsive view crops the table.

So, I am just wondering what is the better approach to achieve something similar to table inside the post.

Any suggestion will be highly appreciated.


Active member
Awesome idea, thanks for that. So is it enough if I just edit my BBcode to replace [table] as

<div style="overflow:auto"><table>{text}</table></div>