I am currently working on a website where I need to create a table with fixed width td tags, rather than the entire table having a fixed width. This is necessary because I will be dynamically showing and hiding columns using jQuery, and also using a jQuery scrolling plugin to scroll the table horizontally as needed. However, I am facing an issue where the td tags start shrinking instead of maintaining their set width when the table becomes wider than its container div. I have tried various solutions but none seem to work.
If you want to see the problem I'm encountering, you can check out this jsfiddle:
Does anyone know how to keep td tags at a fixed width even when they cause the table to exceed its container's width?