How to apply border to tables in Internet Explorer

IE does not acknowledge borders for the <tr> element. The only way to allow it is to trick IE by creating an illusion that the <td> element is continuous in a given <tr>.

To do that set the value of border-collapse property to collapse for the given table.

eg.
table { border-collapse:collapse; }
td { border-bottom:2px solid #000; }

Leave a Reply

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

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.