[新着] Webテンプレートを仮オープンしました
framesetタグに border="" を追加すると、境界線の幅を指定できます。
<frameset cols="200,*" border="5">
| border="" | 境界線の幅をピクセル数で指定します |
|---|
0 を指定すると、境界線を消すことができます。
frameborder属性では境界線の表示・非表示を指定するだけですが、このborder属性では任意の幅を指定できます。
![]()
境界線を消してしまうと、ブラウザによってはその境界線を動かせなくなってしまいます。
■borderに50を指定する場合
<html>
<head>
<title>フレームサンプル</title>
</head>
<frameset cols="200,*" border="50">
<frame src="example_a.html">
<frame src="example_d.html">
<noframes>
<body>
<p>ここにフレーム未対応ブラウザ向けの内容</p>
</body>
</noframes>
</frameset>
</html>
▼これをブラウザで見ると次のように表示されます
■borderに0を指定する場合
<html>
<head>
<title>フレームサンプル</title>
</head>
<frameset cols="200,*" border="0">
<frame src="example_a.html">
<frame src="example_d.html">
<noframes>
<body>
<p>ここにフレーム未対応ブラウザ向けの内容</p>
</body>
</noframes>
</frameset>
</html>
▼これをブラウザで見ると次のように表示されます