This is the definition of td in my css
It works great. But when there is no data in the table cell, it doesn't display the border. I can put an empty space, but I am trying to avoid it since it contributes to the size of the html. Is there anything wrong with css or is this the default behaviour?
| Code: |
|
td { background: #fff; border: solid 1px #ccc; color: #000; } |
It works great. But when there is no data in the table cell, it doesn't display the border. I can put an empty space, but I am trying to avoid it since it contributes to the size of the html. Is there anything wrong with css or is this the default behaviour?
