Solution to the problem that the border style of td tag is not displayed in the browser

php中世界最好的语言
Release: 2018-01-23 10:50:47
Original
2796 people have browsed it

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>
Copy after login
Copy after login

tag is empty, that is:

<td style="border:1px solid red;"></td>
Copy after login
Copy after login

, her style border is invalid.

Solution:

<td style="border:1px solid red;"> </td>
Copy after login


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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!