Question

I have this little problem with my table. I've tried to set my heights and widths, but it won't work. I really don't know what to do!

My table can be seen here testpage.

Here is a fiddle: http://jsfiddle.net/Zn9ep/4/

I hope you will help me!

Was it helpful?

Solution

The width and height of a table should be large enough to fit all the cells. If not, the table will adjust itself and ignore the size that you set.

The extra height of your cells comes from the <p> tag, since paragraphs are suppose to be isolated pieces of text.

You can still format your texts without wrapping them in <p> by simply formatting the text container (i.e. the table cells).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top