Click to See Complete Forum and Search --> : frames problem


ukemike
09-16-2003, 10:31 AM
I got a little problem with frames. Im trying to have a page with 4 frames.
Here is the source code:

<frameset rows="15%, 70%" border="0">
<frame src="top_window.html" name="topwindow" scrolling="no" noresize border=0>

<FRAMESET cols="20%, 20%, 20%" BORDER=0>

<FRAME SRC = "left_window.html" name="leftwindow" scrolling="no" noresize border=0>
<frame src = "main_window.html" name="mainwindow" border=0 noresize>
<frame src = "right_window.html" name="rightwindow" scrolling="no" noresize border=0>
</FRAMESET>

</FRAMESET>

the only problem is. i want the side to open up look like this:

------------------------------------------------
| all my frames | |
blank | | blank |
| | |
| | |
| | |
-------------------------------------------------
its like when you open up some sites and when the browser is maximized from being in normal window, the site stays the same width.

like this site: http://www.killersites.com/
see how its all centered horizontally. i tried to put the whole thing into a table cell, but i guess tables dont accept frames within table cell.s any idea anyone

thank you
mike

Khalid Ali
09-16-2003, 10:37 AM
put the following in all of your pages

<body style="text-align:center">

make sure you replace the body tag with the one above

ukemike
09-16-2003, 10:58 AM
this sucks. aight let me upload the code and could anyone pl look at it and tell me why its coming out like that.
again i want it, when the browser is maximized to be centered, and have a little space on the left and right side of the page.

jalarie
09-16-2003, 02:01 PM
How about this:

<frameset&nbsp;rows="15%,&nbsp;*"&nbsp;border="0">&nbsp;
&nbsp;&nbsp;<frame&nbsp;src="top_window.html"&nbsp;name="topwindow"&nbsp;scrolling="no"&nbsp;noresize&nbsp;border=0>&nbsp;
&nbsp;&nbsp;<FRAMESET&nbsp;cols="20%,&nbsp;20%,&nbsp;20%"&nbsp;BORDER=0>&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;<frame&nbsp;src="blank.htm">
&nbsp;&nbsp;&nbsp;&nbsp;<FRAME&nbsp;SRC&nbsp;=&nbsp;"left_window.html"&nbsp;name="leftwindow"&nbsp;scrolling="no"&nbsp;noresize&nbsp;border=0>&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;<frame&nbsp;src&nbsp;=&nbsp;"main_window.html"&nbsp;name="mainwindow"&nbsp;border=0&nbsp;noresize>&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;<frame&nbsp;src&nbsp;=&nbsp;"right_window.html"&nbsp;name="rightwindow"&nbsp;scrolling="no"&nbsp;noresize&nbsp;border=0>&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;<frame&nbsp;src="blank.htm">
&nbsp;&nbsp;</FRAMESET>&nbsp;
</FRAMESET>