...

View Full Version : Frame border has no color... I know it's prolly redundant, but please help!



Wolf_22
05-27-2005, 06:03 PM
Okay, heres the frame definition code:



<html>

<head>
<title>Main Page</title><!-- This is the FrameDef Page! -->
</head>

<frameset rows = "24%,*" border ="0" bordercolor ="red">
<frame src = "header.html" scrolling ="no" frameborder ="1">

<frameset cols = "14%,86%" border ="0" bordercolor ="red">
<frame src = "menu.html" scrolling="no" frameborder ="1">
<frame src = "home.html" name="winMain" frameborder ="1">


</frameset>
</frameset>

</html>


Okay, as you can see above, there IS a bordercolor value. Only problem is that there seems to be no border color in preview mode...

My Q is... "Why"? :confused:

Thanks

jshl_wiz
05-27-2005, 06:24 PM
The border doesn't show because you don't have a border. Change the "border" attribute from 0 to 1 or 2 or whatever.

Wolf_22
05-27-2005, 06:44 PM
I did that and all that does is make the border bigger.



<html>

<head>
<title>Main Page</title><!-- This is the FrameDef Page! -->
</head>

<frameset rows = "24%,*" border ="1" bordercolor ="red">
<frame src = "header.html" scrolling ="no" frameborder ="1">

<frameset cols = "14%,86%" border ="1" bordercolor ="red">
<frame src = "menu.html" scrolling="no" frameborder ="1">
<frame src = "home.html" name="winMain" frameborder ="1">


</frameset>
</frameset>

</html>



Okay, as you can see, I tried it, and it still doesn't work. :(

jshl_wiz
05-27-2005, 07:12 PM
Oh, yeah you're right that's the wrong answer. I haven't worked with frames in like 5 million years so I've lost all my experience on it. I did my best to help you with this. Try This:


<html>

<head>
<title>Main Page</title><!-- This is the FrameDef Page! -->
</head>

<frameset rows = "24%,*" bordercolor="red" framespacing=2>
<frame src = "header.html" scrolling ="no" frameborder ="1">

<frameset cols = "14%,86%" border ="1" bordercolor ="red">
<frame src = "menu.html" scrolling="no" frameborder ="1">
<frame src = "home.html" name="winMain" frameborder ="1">


</frameset>
</frame>
</frameset>

</html>
Also if you keep having trouble, I suggest you read this tutorial on Frames:
http://www.html-html.com/frames/frames.html

Wolf_22
05-27-2005, 07:17 PM
Thank you so much! I'll definately refer ya to others! :)
(it worked. lol)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum