HOW TO KEEP AN HTML TABLE CELL FROM CHANGING SIZE WHEN I WRITE LESS TEXT IN IT?

Alex L

New member
I am trying to keep a fixed size to all of my cells but they keep changing their size according to the amount of text I write in them. Help me, please. Thank You!
 
With CSS, set the width and height of td selector. Make sure that the width does not exceed the table width, if the table width is also set. The next thing you will have to deal with is what happens when what you type exceeds the capacity of the cell. But you didn't ask about that.
 
Back
Top