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

All about making graphics and adding them to your page!

TUTORIALS

How to make more advanced graphics and code effects

FRAMES

How to make and target all kinds of frames

TABLES AND MENUS

How to make tables and menus

FONTS AND HEADLINES

Make your page look its best with a unique font

CGI AND PERL

A basic introduction to cgi and perl

CARTOON DOLLS

Dollmaking tutorials and generators

MUSIC

Here's how to include music and sound on your webpage!

OTHER NEAT STUFF

Great tips and things to try!

© 1998-2004 by Alexandra Thelin