Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


gareth connop
gareth connop
14,865 Points

Responsive table issue when html and body displayed as table.

I'm in the middle of finishing off a responsive table for a website I'm building. The problem is that because of the html and body elements being displayed as table (due to being part of a sticky footer solution), the width of the tables containing div is not respecting the 100% width, when scaled down below 745px. Removing the display table from the html and body elements isn't an option due to the sticky footer. I would love to hear if anyone in the community has come across this issue and more importantly managed to find a solution/workaround?

See the link below to a pen with the table in question: