Jump to content

problems with frames and iframes


pingu

Recommended Posts

well, heres my code for my page at the moment, using iframes.:

<html><head><title>Desktop</title></head><body bgcolor="#BBBBBB"><center><table width="875px" height="100px" cellspacing="0" align="middle"><tr><th align="center" colspan="2"><iframe src="http://www.freewebs.com/twshaw/deskswitch/top.htm" width="875" height="100" frameborder="0" name="top" /></tr><tr><td width="768px" height="523px" cellspacing="0" align="middle" colspan="1">  <iframe src="http://www.runescape.com" width="768" height="523" frameborder="0" scrolling="no" name="game" /></td><td width="107px" height="523px" cellspacing="0" align="middle" valign="top" colspan="1">  <iframe src="http://www.freewebs.com/twshaw/deskswitch/worlds.htm" width="107" height"523" frameborder="0" scrolling="no" name="world" /></td></tr></table></center></body></html>

online preview of the code: http://www.freewebs.com/twshaw/deskswitch/main.htmi want the third frame to be as high as the second, but it always keeps itself low. i have n idea why this is.please help! :)hmm, ok well i took out the cell spacing, and no difference. ill put an online verion for you to view the problem.hmm, i edited again to add a preview, above.

Link to comment
Share on other sites

Check the math. The first iframe width plus the second iframe width plus the cellspacing is wider than the Table, so it gets dropped down. That is my guess. Make the table about 20px wider just to see if that is what it might be.

Link to comment
Share on other sites

You might first make sure that your closing tags match your opening tags:

<iframe src="http://www.freewebs.com/twshaw/deskswitch/top.htm" width="875" height="100" frameborder="0" name="top" /></t></tr>

Where'd that </t> come from?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...