Home  >  Article  >  Web Front-end  >  Table in HTML sets different colors and widths for each cell_HTML/Xhtml_Web page production

Table in HTML sets different colors and widths for each cell_HTML/Xhtml_Web page production

WBOY
WBOYOriginal
2016-05-16 16:38:191733browse

It is recommended not to directly set the width, height, etc. in the table. It often happens that the settings do not take effect.

If you add the settings in the style, there will be no problem. The code will be copied directly to It can be used in the middle of the body.

Copy code
The code is as follows:




























01 02 03 04 05
06 07 08 09 10
11 12 13 14 15< /td>
16 17< ;/td>
18


Rendering:
Statement:
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