Home >Web Front-end >HTML Tutorial >Solution to the problem that the border style of td tag is not displayed in the browser
This time I will bring you the solution to the problem that the border style of the td tag is not displayed in the browser, and the border style of the td tag is not displayed in the browser What are the precautions? The following is a practical case, let’s take a look.
Question:
In some browsers such as the compatibility mode of 360 browser, the content in the
<td style="border:1px solid red;"></td>
tag is empty, that is:
<td style="border:1px solid red;"></td>
, her style border is invalid.
Solution:
<td style="border:1px solid red;"> </td>
I believe you have mastered the method after reading these cases. For more exciting information, please pay attention to other related articles on the php Chinese website !
Related reading:
How to obtain the dynamic remaining word count of textarea
htmlImportant knowledge you must know about PHP Click
How to deal with content overflow in the table
The above is the detailed content of Solution to the problem that the border style of td tag is not displayed in the browser. For more information, please follow other related articles on the PHP Chinese website!