サイト内検索
...HTML・XHTMLタグ...
フレーム
サイズの変更の禁止
- フレームのサイズ変更の禁止するには、frame要素にnoresize属性を指定します。
- 境界線の移動が出来なくなります。
- frame要素に追加して、フレームのサイズの変更の禁止をします。
- [使い方]
- <frame src="sample.html" noresize>
サンプル
左右2面のフレーム
<html><head>
<title>サンプル</title>
</head>
<frameset cols="30%,70%"><frame src="sample-a.html">
<frame src="sample-b.html" noresize>
<noframes>
<body>
このぺージはフレーム対応のブラウザでご覧ください。</body>
</noframes></frameset>
</html>
[ブラウザ上]
サンプルページへ→