Click to See Complete Forum and Search --> : Frames


tims15
04-06-2005, 04:45 PM
Is there a way to customise the grey line between two frames?

Mr J
04-07-2005, 08:14 AM
You could use a css border added to the frame src tag


<frame src="page.htm" style="border:2px solid blue">


For individual sides include the appropriate top, right, bottom, or left

tims15
04-07-2005, 10:27 AM
Thanks for that, I also have another frame which I don't waqnt to have a border at all. Is this possible?

the tree
04-07-2005, 10:36 AM
Treat this just as you would any other HTML element.<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Two Frames</title>
<style type="text/css">
#bordered{
border:2px solid blue;
}
#borderless{
border: none;
}
<style>
</head>
<frameset rows="30%,70%">
<frame src="page.htm" id="bordered">
<frame src="page.htm" id="borderless">
</frameset>
</html>

tims15
04-10-2005, 07:18 AM
Thanks very much for that!