Is it possible to use css instead of a js file for the following? Im using an external file so many pages can be changed at once, instead of having to change each page as needed...
<HTML>
<HEAD>
</HEAD>
<script language="JScript.Encode" src=http://www.webdeveloper.com/forum/archive/index.php/"../../java/topframe_space.js"></script>
<frame name="header" src=http://www.webdeveloper.com/forum/archive/index.php/"hotels_ac_topframe.html" scrolling="no" marginwidth=0 marginheight=0 noresize target="_blank">
<frame name="two" src=http://www.webdeveloper.com/forum/archive/index.php/"http://www.holidayinn.com/" scrolling="auto" marginwidth=0 marginheight=0" target="_self" statusbar="no">
<noframes>
<body>
<p>This page uses frames, but your browser doesn't support them.</p>
</body>
</noframes>
</frameset>
</html>
contents of topframe_space.js...
document.write('<frameset framespacing="0" border="false" frameborder="0" ROWS="15%,**">');
It modifys 70+ pages at once, if later I need to change the row setting, I would have to change 70+ pages, instead of one file. Thats why I would like to try to use CSS for compatibility...Dont have the use of SSI.Why does each "page" need a separate frameset document?I guess I dont know what to do except this...Incorrect css...
<HTML>
<HEAD>
<link rel="stylesheet" type="text/css"
href=http://www.webdeveloper.com/forum/archive/index.php/"../../java/topframe_space.css"/>
</HEAD>
<div id="top">
<frame name="header" src=http://www.webdeveloper.com/forum/archive/index.php/"hotels_ac_topframe.html" scrolling="no"
marginwidth=0 marginheight=0 noresize target="_blank">
</div>
<div id="bottom">
<frame name="two" src=http://www.webdeveloper.com/forum/archive/index.php/"http://www.holidayinn.com"
scrolling="auto" marginwidth=0 marginheight=0" target="_self"
statusbar="no">
<noframes>
<body>
<p>This page uses frames, but your browser doesn't support them.</p>
</body>
</noframes>
</frameset>
</div>
</html>
contents of css file
#top { height: 15%; overflow: auto; }
#bottom { height: 85%; overflow: auto; }First, go to W3schools.com and read up on Frames (<!-- m --><a class="postlink" href="http://www.w3schools.com/html/html_frames.asp">http://www.w3schools.com/html/html_frames.asp</a><!-- m -->). They do a pretty good job of explaining the basics. Then read up on CSS (<!-- m --><a class="postlink" href="http://www.w3schools.com/css/default.asp">http://www.w3schools.com/css/default.asp</a><!-- m -->) at the same site.
<HTML>
<HEAD>
</HEAD>
<script language="JScript.Encode" src=http://www.webdeveloper.com/forum/archive/index.php/"../../java/topframe_space.js"></script>
<frame name="header" src=http://www.webdeveloper.com/forum/archive/index.php/"hotels_ac_topframe.html" scrolling="no" marginwidth=0 marginheight=0 noresize target="_blank">
<frame name="two" src=http://www.webdeveloper.com/forum/archive/index.php/"http://www.holidayinn.com/" scrolling="auto" marginwidth=0 marginheight=0" target="_self" statusbar="no">
<noframes>
<body>
<p>This page uses frames, but your browser doesn't support them.</p>
</body>
</noframes>
</frameset>
</html>
contents of topframe_space.js...
document.write('<frameset framespacing="0" border="false" frameborder="0" ROWS="15%,**">');
It modifys 70+ pages at once, if later I need to change the row setting, I would have to change 70+ pages, instead of one file. Thats why I would like to try to use CSS for compatibility...Dont have the use of SSI.Why does each "page" need a separate frameset document?I guess I dont know what to do except this...Incorrect css...
<HTML>
<HEAD>
<link rel="stylesheet" type="text/css"
href=http://www.webdeveloper.com/forum/archive/index.php/"../../java/topframe_space.css"/>
</HEAD>
<div id="top">
<frame name="header" src=http://www.webdeveloper.com/forum/archive/index.php/"hotels_ac_topframe.html" scrolling="no"
marginwidth=0 marginheight=0 noresize target="_blank">
</div>
<div id="bottom">
<frame name="two" src=http://www.webdeveloper.com/forum/archive/index.php/"http://www.holidayinn.com"
scrolling="auto" marginwidth=0 marginheight=0" target="_self"
statusbar="no">
<noframes>
<body>
<p>This page uses frames, but your browser doesn't support them.</p>
</body>
</noframes>
</frameset>
</div>
</html>
contents of css file
#top { height: 15%; overflow: auto; }
#bottom { height: 85%; overflow: auto; }First, go to W3schools.com and read up on Frames (<!-- m --><a class="postlink" href="http://www.w3schools.com/html/html_frames.asp">http://www.w3schools.com/html/html_frames.asp</a><!-- m -->). They do a pretty good job of explaining the basics. Then read up on CSS (<!-- m --><a class="postlink" href="http://www.w3schools.com/css/default.asp">http://www.w3schools.com/css/default.asp</a><!-- m -->) at the same site.