Home > Web Front-end > HTML Tutorial > Looking for a DIV layout page that adapts to the browser window_html/css_WEB-ITnose

Looking for a DIV layout page that adapts to the browser window_html/css_WEB-ITnose

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

Looking for a DIV layout page that adapts to the browser window


Reply to the discussion (solution)

You have to write this yourself, width percentage and minimum width Just take control.

If someone else gives it to you, it has a different structure. If you change it, it will still be messy and very troublesome. And if you can change such a layout, you can write it.

If you change it, it’s not as comfortable as writing it yourself. If you write it yourself, you will have a deeper understanding. Come on!

Generally use table, set the width as a percentage...

It is recommended to use div table for layout, please refer to the following

 <div id="" style="left: 0%; top: 0%; width: 50%;  height: 50%; text-align: center; overflow: hidden;">        <table class='table1'>            <tr class='tr1'>                <td>                                    </td>            </tr>            <tr>                <td>                                   </td>            </tr>        </table></div>
Copy after login

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