문제

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!

도움이 되었습니까?

해결책

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).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top