InterviewSolution
| 1. |
How To Style Table Cells? |
|
Answer» Margin, Border and PADDING are difficult to apply to inline elements. OFFICIALLY, the <TD> tag is a BLOCK level element because it can CONTAIN other block level elements (see Basics - Elements). If you need to set special margins, borders, or padding inside a table cell, then use this markup: Margin, Border and Padding are difficult to apply to inline elements. Officially, the <TD> tag is a block level element because it can contain other block level elements (see Basics - Elements). If you need to set special margins, borders, or padding inside a table cell, then use this markup: |
|