0

Hello everybody:

I am using one table that has cells that msut be 20px height.
These cells have border on top and bottom. They are 1px width.
My question is, which would be the total height of cell including borders?

20px (borders included)
or
20px + 1px(border top) + 1px (border bottom)

Thanks a lot.
xescjp

2
Contributors
2
Replies
3
Views
4 Years
Discussion Span
Last Post by xescjp
0

See this for an explanation of the box model. As you can see, you also need to include margin and padding into your calculation.

Edited by pritaeas

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.