Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Color of framespacing

Status
Not open for further replies.

DaWid

Programmer
Dec 21, 2000
6
DK
In a page HTML I'v got a frameset with 2 two frames. The framespacing of the frameset is set to 3 and the frameborder to 0. By default, the color of the frame spacing between the 2 frames is white. I want to set it to black for example...I cannot..I don't how to do it.
thx
 
you can read the doc, that is a pretty good solution
now if you CAN'T read the doc (???) the code is : <FRAME SRC=&quot;...&quot; NAME=&quot;...&quot; SCROLLING=&quot;..&quot; FRAMEBORDER=&quot;..&quot; BORDER=&quot;..&quot; BORDERCOLOR=&quot;...&quot;>
 
Well, How can I handle this problem with the doc?
I don't have any border..just spacing between frames.
 
ok, see the part in bold in my 1st answer ??? replace the &quot;...&quot; with &quot;BLACK&quot; and then the frame spacing color will be black - so you won't see the sapcing again

you're right, you'd better not read the doc (it's where they say how to have NO framespacing or how to color them ...)
 
I'm sorry but I think I misunderstood something.
Here's a sample code. I don't have any border for frameset or the frames. Just spacing. I just want to color this spacing.
<html>
<FRAMESET ROWS=&quot;50%,50%&quot; framespacing=&quot;10&quot; frameborder=&quot;0&quot; >
<FRAME src=&quot;test2.html&quot;>
<FRAME src=&quot;test2.html&quot;>
</FRAMESET>
</html>
 
<html>
<FRAMESET ROWS=&quot;50%,50%&quot; framespacing=&quot;10&quot; frameborder=&quot;0&quot; >
<FRAME src=&quot;test2.html&quot; bordercolor=&quot;black&quot;>
<FRAME src=&quot;test2.html&quot;>
</FRAMESET>
</html>

then the border color of the 1st frame is black
definitly don't read the doc it look you'll have trouble understanding how to use it ... ?
 
The code does not work at all. The spacing does not belong to the frames I think.
 
oh then both devedge and msdn docs are wrong and my browsers are behaving in a really weird way because it works fine on them. You should email them so that they correct their doc.
but you are also allowed to change it slightly. Realize that sometimes frames share the same borders, therefore you have a small effort to do to adapt the code to your particular case - you can also set the bordercolor for the frameset tag
 
I do not have borders..just spacing. I will still investigate on this topic....I know to open a book don't worry.:)
 
How can I do that? There is no bgcolor property for a frameset tag. I tried to used the object style with BACKGROUND-COLOR..but nothing happened. Can you modify the short source code I put in the topic and in order to make it working?
thx both

david
 
&quot;There is no bgcolor property for a frameset tag.&quot; yes there is, and it's called bordercolor, and it's written a few lines above
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top