Learn HTML Code Tutorial Reference Guide

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

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial