Why is the width I set different from the actual width?
Some are longer and some are shorter? ? ?
The table is a whole, and the width of each column td is determined by the width of the longest td.
As for why it is different, I don’t know how your code is written. .
Use css or rowspan, colspan
The outside is a percentage, and the inside is also a percentage.
For example:
This way. Then write a few fields with clear width expectations, and the other fields can be wider to let them adapt. There are hidden dangers in setting the width by default It might be better to add this
Previous article:Front-end development artifact sublime code emmet quick writing configuration file storage location_html/css_WEB-ITnose
Next article:Create non-selectable text using CSS3_html/css_WEB-ITnose
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
Latest Articles by Author
Latest Issues
Retrieve nested related values in mysql
I'm trying to retrieve related values based on multiple entries in a database. I'm very ...
From 2024-04-04 17:29:06
0
2
365
Related Topics
More>
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
|