Idocs Guide to HTML

Attribute for <FRAMESET ...>
BORDERCOLOR = color expression

BORDERCOLOR sets the color of the borders in the frameset.

this code produces this
<FRAMESET ROWS="50%,*" BORDERCOLOR=RED>
     <FRAME SRC="fsbctitle.html">
     <FRAME SRC="fsbcmain.html">

<NOFRAMES>NOFRAMES stuff
</NOFRAMES>

</FRAMESET>

this page

There is no defined behaviour if you use BORDERCOLOR in both <FRAMESET ...> and <FRAME ...>. Different versions of MSIE resolve the situation differently. Netscape is a more consistent. In Netscape, <FRAMESET BORDERCOLOR="..."> sets the color for all borders, and <FRAME BORDERCOLOR="..."> makes exceptions to that rule. For example, this code sets the borders for all frames to yellow for the borders of the middle frame which are red:

this code produces this
<FRAMESET ROWS="*,*,50%,*,*" BORDERCOLOR=YELLOW>
     <FRAME SRC="fsbcex1.html">
     <FRAME SRC="fsbcex2.html">
     <FRAME SRC="fsbcexmain.html" BORDERCOLOR=RED>
     <FRAME SRC="fsbcex3.html">
     <FRAME SRC="fsbcex4.html">

<NOFRAMES>NOFRAMES stuff
</NOFRAMES>

</FRAMESET>

this page

Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.