---
title: "Table column fixed width"  
description: "Table column fixed width"  
author: "Takeshi Okada"  
published: 2013-04-04  
updated: 2013-04-04  
canonical: https://www.mindstick.com/forum/711/table-column-fixed-width  
category: "css-css3"  
tags: ["css-css3"]  
reading_time: 1 minute  

---

# Table column fixed width

Hi Everyone!\
I'm having problems with setting a fixed width for [table](https://www.mindstick.com/articles/43918/how-to-design-table-using-bootstrap) columns. Have a look at jsfiddle example:\
http://jsfiddle.net/Stylock/jJ6DK/\
The middle [column](https://www.mindstick.com/forum/33860/how-to-calculate-column-summary-in-sql-server) should be 300px wide, and the [left](https://www.mindstick.com/articles/12768/don-t-be-left-behind-with-the-new-it-revolution) column should be 80px wide, but for some reason all three columns are the same width. [Anyone](https://www.mindstick.com/articles/23207/how-to-find-the-best-fit-job-for-anyone) knows how \
to [fix](https://yourviews.mindstick.com/view/80763/donald-trump-ki-jeet-fix-hai) that?\
Thanks in [advance](https://www.mindstick.com/blog/33258/jee-mains-and-jee-advance-exams)!

## Replies

### Reply by Vijay Shukla

Hi Takesh!\
Remove table-layout: fixed from table:\
table { border: 1px solid #D7E4B9; background: #B4CDCD; }

### Reply by AVADHESH PATEL

Hi Takeshi!\
Remove this css style of your table and it should work:\
table-layout: fixed;\
When you set table-layout: fixed for you table it will take these algorithms:\
The horizontal layout only depends on the table's width and the width of the columns, not the contents of the cellsAllows a browser to lay out the table faster than the automatic table layoutThe browser can begin to display the table once the first row has been received


---

Original Source: https://www.mindstick.com/forum/711/table-column-fixed-width

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
