Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need help with frame

Status
Not open for further replies.

100bure

IS-IT--Management
Feb 11, 2002
12
CH
hi

i've got five frames and would like to center the main framemain. I've got the following code but the mainframemain stays allways in the top right corner. why? shouldn't it sty in de middel of the page?

thanks for advice.
reto from switzerland

<frameset cols=&quot;*,790&quot; frameborder=&quot;NO&quot; border=&quot;0&quot; framespacing=&quot;0&quot;>
<frame name=&quot;leftFrameMain&quot; scrolling=&quot;NO&quot; noresize src=&quot;left_left.html&quot;>
<frameset cols=&quot;790,*&quot; frameborder=&quot;NO&quot; border=&quot;0&quot; framespacing=&quot;0&quot;>
<frameset rows=&quot;450,*&quot; frameborder=&quot;NO&quot; border=&quot;0&quot; framespacing=&quot;0&quot;>
<frameset rows=&quot;*,450&quot; frameborder=&quot;NO&quot; border=&quot;0&quot; framespacing=&quot;0&quot;>
<frame name=&quot;topFrameMain&quot; scrolling=&quot;NO&quot; noresize src=&quot;top_top.html&quot; >
<frame name=&quot;mainFrameMain&quot; src=&quot;index.html&quot;>
</frameset>
<frame name=&quot;bottomFrameMain&quot; scrolling=&quot;NO&quot; noresize src=&quot;bottom_bottom.html&quot;>
</frameset>
<frame name=&quot;rightFrameMain&quot; scrolling=&quot;NO&quot; noresize src=&quot;right_right.html&quot;>
</frameset>
</frameset>
 
Play with your numbers and you will see the frames move into place. Make the numbers smaller the more framesets you go down. Most of your frames aren't even being displayed. That is why it is not centering. Also, use borders for testing.

Rick
 
Ok, I will try this.
Thanks.

reto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top