Like Pop up windows and regular frames, to create an inline frame you must create separate pages and link them together.  Although it looks like there is only one page, in reality there are two.  Look below.  The content on white is actually located on a separate page.  You can view it HERE.  What I've done is used code to link two pages together so that one appears to be inside the other. 

 

Here's the code used to create this effect:

<div align="center"><center>

<table border="0" cellpadding="10" cellspacing="0" width="40%">

<tr>

<td width="100%"><!--webbot bot="HTMLMarkup" TAG="XBOT" startspan --><IFRAME name="cwindow" width="350" height="200" src="inlineframes2.html"><!--webbot bot="HTMLMarkup" endspan -->

<!--webbot bot="HTMLMarkup" TAG="XBOT" startspan --></IFRAME><!--webbot bot="HTMLMarkup" endspan -->

</td>

</tr>

</table>

Note that the address of the inner page is "inlineframes2.html"  When you use this on your site, make sure to change the address to the address of your inner frame! Also, you can change the width and height pixels so that the frame can be different sizes.

Here's another example with a border around the frame, and I've changed the dimensions of the box:

<div align="center"><center>

<table border="0" cellpadding="10" cellspacing="0" width="40%">

<tr>

<td width="100%"><!--webbot bot="HTMLMarkup" TAG="XBOT" startspan --><IFRAME name="cwindow" style="border:15

groove red" width="150" height="200" src="inlineframes2.html"><!--webbot bot="HTMLMarkup" endspan -->

<!--webbot bot="HTMLMarkup" TAG="XBOT" startspan --></IFRAME><!--webbot bot="HTMLMarkup" endspan -->

</td>

</tr>

 

GETTING STARTED

Check here first.  Everything about how to get started on your first webpage!

GRAPHICS

TUTORIALS

FRAMES

TABLES AND MENUS

FONTS AND HEADLINES

CGI AND PERL

CARTOON DOLLS

MUSIC

OTHER NEAT STUFF

© 1998-2004 by Alexandra Thelin