Border around empty table cells

It happens often, when working with tables, to “forget” empty cells, i.e. cells without any content at all within, not with even as much as a shy & nbsp ;. That makes them look awkward in the browser (awkward = borderless) and,most of all, to look like coding errors, which coulod become unpleasant. For those lacking the patience to fiddle again the whole html code, there’s a solution: to define the following property in the CSS code:

{ empty-cells: show }

This will force all the empty cells to SHOW the border, even if empty. (the other possible values for this property are: hide and inherit)

Versiunea in Romana a acestui articol aici.

Comment (1)

  1. […] Version of this article here. Daca ai citit asta, poate mai vrei sa citesti si despre:table border de fix 1px;gerbera rosie […]

Leave a Reply

Your email address will not be published. Required fields are marked *