Written by me@grafxflow
29 Nov, 2012
0
1,798
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
02 Aug, 2015
25 Mar, 2010
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
25 Nov, 2022
20 Sep, 2022
Views: 162,540
Views: 38,780
Views: 34,579
Views: 31,924