How to Prevent Resizing of Frames Using HTML Pogramming
HTML, or hypertext markup language is a computer language that is used to create web pages. Websites and web pages are written in HTML code. Whether you are setting up a personal web page or a business web page, learning HTML code can be very beneficial. Knowing how to use the codes can help you manipulate your page settings. HTML documents contain plain text and have the extension .html or .htm extension. You can prevent visitors to your site from resizing the frames on your pages. Visitors may wish to change the size of the frames in order to display more information in your frames. If they choose to do so, visitors can resize a frame by dragging the frame‘s border. If you don’t want the layout of your frames to change, you should consider preventing visitors from resizing them. This guide will teach you how to prevent visitors from resizing frames on your site for display on your page. It presents a very simple approach to customizing your page.
Instructions
-
-
1
Start your word processor or text editor that you will use to edit your web page. Locate the web page on your PC that you will be editing.
-
2
Type NORESIZE inside of the <FRAME>tag for the frame that you wish to keep visitors from resizing. Your text should look like the following: </HEAD><FRAME NAME=“banner” SRC=“banner.html” NORESIZE></HTML>
-
-
3
Repeat Step 1 for each frame that you wish to keep visitors from resizing.
-
4
Open a new web browser to verify that your web page displays the frames correctly. Test the frames as a user to see if you are prevented from resizing the frames. To display your page you may use a browser, such as Internet Explorer.
-
1
Tips & Warnings
You should display your web page in several browsers to see how each browser will display your page.
When you prevent visitors from resizing the frames, they won’t be able to use the borders of the frame to resize neighboring frames.