Written by me@grafxflow
29 Nov, 2012
0
2,020
Sometimes when outputting data in a table based layout you may find the size and width differ depending on the content, so to fix the tables and all the inner columns width use the below CSS.
I had this issue when creating a shopping website and when going between different pages made the table change width randomly even though I had set the widths with css.
table {
table-layout:fixed;
}
23 Apr, 2018
25 Mar, 2010
02 Aug, 2015
I am a Full-stack Developer who also started delving into the world of UX/UI Design a few years back. I blog and tweet to hopefully share a little bit of knowledge that can help others around the web. Thanks for stopping by!
Follow11 Jul, 2023
21 Jun, 2023
Views: 166,585
Views: 40,466
Views: 37,234
Views: 33,736