Html 框架边框颜色

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/9269540/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-28 22:31:30  来源:igfitidea点击:

frameset border color

htmliframecssxhtml

提问by homerun

i have this code which include frameset. i have tried to set to this frame set border color.

我有这个包含框架集的代码。我试图设置为此框架设置边框颜色。

here it is:

这里是:

<html>
<frameset rows="* , *" border="1" BORDERCOLOR="#ffffff">
    <frame src="http://site.com" noresize="true"/>
    <frame src="http://site.com" noresize="true"/>
</frameset><frameset rows="* , *" border="1" BORDERCOLOR="#00ff00">
</html>

I have set BORDERCOLOR but that attribute does not have any effect.

我已经设置了 BORDERCOLOR 但该属性没有任何效果。

how can i set border color between the frames?

如何在框架之间设置边框颜色?

采纳答案by slackmart

try with:
BORDERCOLOR=green

尝试:
BORDERCOLOR=green

回答by Ryan Kinal

<html>
<frameset rows="* , *" border="1" BORDERCOLOR="#ff0000">
    <frame src="http://site.com" noresize="true"/>
    <frame src="http://site.com" noresize="true"/>
</frameset>
</html>

That works for me (see screenshot below)

这对我有用(见下面的截图)

Frames screenshot

帧截图

Please carefully consider why you're using frames in the first place.

请仔细考虑您首先使用框架的原因。