HTML tutorials-size settings for each window

Source: Internet
Author: User
Tags window
Tutorial we split the window into several pieces, horizontally divide the Rows property, the cols attribute is used vertically, and the size of each block can be implemented by the values of the two properties.

<frameset cols=#> Case: <frameset cols= "100,200,300" >
<frameset rows=#> Case: <frameset rows= "10%,20%,70%" >

#的值为一对用引号括起来的字符串, the number in the string indicates the size of each window, separated by commas, and several digits indicating a few windows. Of course, any of these numbers can also be replaced by "*", which means that the browser automatically sets its size.

such as: <frameset cols= "100,200,*" >
<frameset cols= "100,*,*" > divide the window evenly beyond 100 pixels
<frameset cols= "*,*,*" > divides the windows into three equal portions

To arrange multiple windows vertically:
********************************

<frameset cols=30%,20%,50%>
<frame src= "frame/a.html" >
<frame src= "frame/b.html" >
<frame src= "frame/c.html" >
</frameset>

To arrange multiple windows horizontally:
********************************

<frameset rows=25%,25%,50%>
<frame src= "frame/a.html" >
<frame src= "frame/b.html" >
<frame src= "frame/c.html" >
</frameset>

To arrange multiple windows horizontally:
********************************

<frameset cols=20%,*>
<frame src= "frame/a.html" >
<frameset rows=40%,*>
<frame src= "frame/b.html" >
<frame src= "frame/c.html" >
</frameset>
</frameset>



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.