Home > Web Front-end > HTML Tutorial > html table_html/css_WEB-ITnose

html table_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:47:21
Original
1093 people have browsed it

Master, look at the picture: How to make this table? I don’t want to use a background image to make it. How to make it with a table or a div? My question is: when the width of a column in the previous row will affect the width of the next column, it’s a headache. .


Reply to discussion (solution)

Design it in Excel or Word and save it as html. Then you can adjust it quickly.
When the width of a column in the previous row will affect the width of the next column
=> You can set it to automatic or ss Write to determine how much exceeds the bandwidth and then use width:auto like this

When your width After setting, the height is auto, and the height will usually be automatically filled

You can divide an extra cell in all unaligned places, and then there is the problem of merging cells

What does automatic mean? Why can't I grasp the meaning of auto? Can anyone give a vivid description?

What the above means is that your width is set. The height of the cell will be stretched vertically according to your content. So I set it to auto

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