Can I center my wholeframest within the middle of a browser window?

Hi all. <br />
<br />
I've recently started experiementing with basic html, just plain page layouts. <br />
<br />
However I have read a few starter guides books and tried a few tutorials, but I think HTML may be a little out of my depth.<br />
<br />
I am trying to develop a website that may or may not include frames. My reason for using frames, is to target pages to the particular frame. My reason for not using frames is that I dont know how to center the wholeframeset in the middle of the browser when a veiwer resizes their browser window.<br />
<br />
If I have a topframe, a left frame, and a middle frame, I can always get the top and middle frames to center using Dreamweaver properties window Align - center function, but the left frame always stays to the left, and doesnt drift with the other two.<br />
<br />
Is it best no to use frames if I want that function to work. If I do not use frames, is ther another way I can achieve a similar function?<br />
<br />
What I want to avoid is having to waste time by loading a whole new webpage once a button is press. But I also want the all the webpages to be at the center of the browser window at all times.<br />
<br />
In dreamweaver is Auto stretch the same as Centering a webpage, using Align? <br />
<br />
I apologise to true coders who may feel my query is unwarranted, but I would appreciate any learning tips and advice on my problems<br />
<br />
Thanks G<!--content-->Personally, I don't like frames because of many difficulties you will experience using them. I use tables to give the page the look of frames, though. For a very basic example...<br />
<br />
<table border="0" width="100%"><br />
<tr><br />
<td height="200" colspan="2" bgcolor="olive"><br />
Top "Frame"<br />
</td><br />
</tr><br />
<td width="23%" bgcolor="#CCCCCC"><br />
Navigation "Frame"<br />
</td><br />
<td width="77%" bgcolor="#FFFFFF"><br />
Main "Frame"<br />
</td><br />
</tr><br />
</table><!--content-->no, you can't center a frame in a browser window. An Iframe maybe but not a regular frame<!--content-->This way:<br />
<html> <br />
<head> <br />
<title>center Frameset</title> <br />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <br />
</head> <br />
<br />
<frameset cols="*,800,*" frameborder="NO" border="0" framespacing="0" rows="*"> <br />
<frame name="leftFrame" scrolling="NO" noresize src=http://www.htmlforums.com/archive/index.php/"left.htm"> <br />
<br />
<frameset rows="71,*" frameborder="NO" border="0" framespacing="0" cols="*"> <br />
<frame name="topFrame" scrolling="NO" noresize src=http://www.htmlforums.com/archive/index.php/"top.htm" ><br />
<br />
<frameset rows="*" frameborder="NO" border="0" framespacing="0" cols="120,*"><br />
<frame name="menuFrame" src=http://www.htmlforums.com/archive/index.php/"menu.htm"><br />
<frame name="mainFrame" src=http://www.htmlforums.com/archive/index.php/"home.htm"><br />
</frameset> <br />
</frameset> <br />
<br />
<frame name="rightFrame" scrolling="NO" noresize src=http://www.htmlforums.com/archive/index.php/"right.htm"> <br />
<br />
</frameset> <br />
<noframes><body bgcolor="#FFFFFF" text="#000000"> <br />
<br />
</body></noframes> <br />
</html> <br />
<br />
=============<br />
left.htm and right.htm have no content, only a bgcolor.<br />
<br />
:rocker:<!--content-->
 
Back
Top