Home > Web Front-end > HTML Tutorial > Please tell me how to float this table to fit the width of the screen, _html/css_WEB-ITnose

Please tell me how to float this table to fit the width of the screen, _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:25:06
Original
994 people have browsed it



How can this table adapt to the green width? There is a left-floating sidebar next to it.

If the width of the table is written as 100%, the following situation will occur.


The background color is red (id="center"), the table is in a div, the color of the div (id="right") is green,






Reply to the discussion (solution)

Make a complaint, do you dare to directly give a piece of code for the test so that people can see it directly? question.
Although you describe the problem very clearly, if someone wants to try it, they have to write their own code to implement your problem
It may not be possible to reproduce your problem in one go.
Who would be so free! ! ! Yes, people who are free probably won’t bother like this! ! !

Sorry, I forgot, haha ​​

But I finally found the method, thank you...

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