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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

frame thing?

Status
Not open for further replies.

darkprince

Programmer
Jun 4, 2002
165
AU
hello

um i was wondering what is the html frame code for a frame that is in the middle of a page like a box in the middle of explorer so it scrolls? and if any1 gives me the code can you give me the code for a boderless frame please

thanks in advance

bye bye
 
I don't know if this is what you mean, but it will give you a page with 3 frames. A non scrolling 100pix top frame, a non scrolling 100pix bottom frame, and a scrolling 400pix middle frame... with no borders

<frameset rows=&quot;100,400,100&quot; frameborder=&quot;NO&quot; border=&quot;0&quot; framespacing=&quot;0&quot; cols=&quot;*&quot;>
<frame name=&quot;topframe&quot; scrolling=&quot;NO&quot; noresize src=&quot;top.html&quot;>
<frame name=&quot;mainframe&quot; src=&quot;middle.html&quot;>
<frame name=&quot;bottomframe&quot; scrolling=&quot;NO&quot; noresize src=&quot;bottom.html&quot; >
</frameset>

if you want a vertical scrolling frameset, swap the words &quot;rows&quot; and &quot;cols&quot;...
 
well, for one, that style is really annoying to read. why would i want to sroll a huge document in a tiny window?

easiest way would be to center a table and use an iframe in one of the cells


<iframe src=&quot;yours.html&quot; width=&quot;&quot; height=&quot;&quot; frameborder=&quot;0&quot;></iframe>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top