Hello Manas,
all you need to do is use
frameborder="0"
and
framespacing="0"
attributes in the frameset tag like in my modification of your code:
Elaborated example
Frameset.html:
<html xmlns="http://www.w3.org/1999/xhtml">
<frameset rows="84,*" frameborder="0" framespacing="0" >
<frame src="1.html" name="menu" noresize="noresize" frameborder="no">
<frameset cols="25%,*" frameborder="0" framespacing="0" >
<frameset rows="*,20%" frameborder="0" framespacing="0" >
<frame src="DocIndex.html" name="index">
<frame src="Index.html" name="docindex">
</frameset>
<frameset rows="16,*" frameborder="0" framespacing="0" >
<frame src="1.html" name="pathbar" frameborder="no">
<frameset rows="*,0" frameborder="0" framespacing="0" >
<frame src="1.html" name="content" frameborder="no">
<frame src="1.html" name="navigation" frameborder="no">
</frameset>
</frameset>
</frameset>
</frameset>
</html>
DocIndex.html:
<html>
<head>
<link rel="stylesheet" type="text/css" href="./BodyStyles.css" />
</head>
<body class="doc">
</body>
<html>
Index.html:
<html>
<head>
<link rel="stylesheet" type="text/css" href="./BodyStyles.css" />
</head>
<body class="index">
</body>
<html>
1.html:
<html>
<head>
<link rel="stylesheet" type="text/css" href="./BodyStyles.css" />
</head>
<body class="rest">
</body>
<html>
BodyStyles.css:
body.rest {
border-left: solid 0px blue;
border-right: solid 0px blue;
border-top: solid 0px blue;
border-bottom: solid 0px blue;
background-color: red;
}
body.doc {
border-left: solid 2px white;
border-right: solid 2px white;
border-top: solid 2px white;
border-bottom: solid 0px white;
background-color: red;
}
body.index {
border-left: solid 2px white;
border-right: solid 2px white;
border-top: solid 0px white;
border-bottom: solid 2px white;
background-color: red;
}
I still advice you to use the seamless frameset approach. In the codes given above I have shown you how to style your content to render the desired borders. Study the given example and use style sheets to achieve what you're after. Given this you should now be able to work work out your solution.
That's it! Try it out and play around with it ... :cool:
P.S.: This example was tested and found to be working in IE8
and FireFox 3.6.
Regards, Manfred