m1k1o
m1k1o

Reputation: 2364

jQuery.css("width") table th

The problem is, that I configure width of first th on 100px. If you click on the border of column (you mean that you want to resize it). There is one alert. In the alert are width of all th in thead, but they are bad. Look, the size of first th is 100px but in the alert is other value e.g. 49px. I use Google Chrome web-browser. Please help me! I give here fiddle link:

http://jsfiddle.net/xjwVf/3/

Upvotes: 2

Views: 437

Answers (1)

Fabrício Matté
Fabrício Matté

Reputation: 70139

Set your fixed width <th>'s display to inline-block, it'll force the element to have the specified width.

DEMO

Upvotes: 3

Related Questions