The width of the table is 100%. 1 fixed column width

here is the code i am facing:

http://jsfiddle.net/crptS/

Basically, I have a table, and the width of the table is 100%

table
{
 border: 1px solid #ffda95;
  border-collapse: collapse;
  width: 100%;
}

I now have 1 column that contains 3 icons, and I donโ€™t want this column to scale from the page. It should have a width of 25 pixels. tdhas a classtdmaxwidth60

.tdmaxwidth60
{
    width: 25px;
    min-width: 25px;
    max-width: 25px;
}

However. in Firefox and IE, this column still scales with the page, be it slightly different than jsFiddle. it seems to work width(with proper loading), and min-widthalso works when you have full-screen page mode and you reduce it, it remains the same width. however, when you load a page onto a small page and then do it in full screen mode, the column width is stretched.

, ?

+3
3

jsfiddle 4 . .

, , . .

+1

, , , trmaxwidth60 td tr? , , .

0

white-space: nowrap; .trmaxwidth60. , , , .

-2

Source: https://habr.com/ru/post/1789962/


All Articles