+ 1
Question about tables
If I set a fixed value to the width of a table, if the content inside the cells is large, they will increase in height, right? to increase the height of a cell relative to the next below, do I have to increase the size of the height by adding the size of the contents inside the cell? example: if the contents inside of the cell is 40px, so to creat a space 10px between first tr and second tr, I need to set 50px?
2 Antworten
+ 3
If I understand your question correctly, you want to make sure there is always equal space between each table row (tr)? To do that you should just have to add a bottom margin value to your tr in the CSS.
+ 2
for that case , you need to add a margin: 10px on your CSS for the table tr