What are common issues with table display in PHP files across different browsers like IE, Opera, and Mozilla Firefox?

Common issues with table display in PHP files across different browsers like IE, Opera, and Mozilla Firefox can include inconsistent rendering of table borders, padding, and alignment. To ensure consistent display across browsers, it is recommended to use CSS for styling table elements rather than relying solely on inline styles or deprecated HTML attributes.

<style>
    table {
        border-collapse: collapse;
        width: 100%;
    }
    th, td {
        border: 1px solid black;
        padding: 8px;
        text-align: left;
    }
</style>

<table>
    <tr>
        <th>Header 1</th>
        <th>Header 2</th>
    </tr>
    <tr>
        <td>Data 1</td>
        <td>Data 2</td>
    </tr>
</table>