View Full Version : Problem positioning my iframe

02-02-2012, 07:28 AM

How does the iframe positioning work ?

I have a cell phone simulation script and when I made
some changes to the left handside text, the iframe on the
right hand side went out of align with the holder image.

This is my script:

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Nokia Mobile Emulator</title>
<meta name="keywords" content="Nokia simulator, Nokia emulator, Nokia mobile website">
<meta name="description" content="See how your website looks in a Nokia">
<meta name="robots" content="index,follow">
<script type="text/javascript">
/* Old script, still used, but adapted with Cookie creation */
var ray={
return document.getElementById(el);
<div align="center">
<table border="0" width="700" id="table2" cellspacing="0">
Welcome to our Testing Page.
On this page you can see how <br>
any website looks on a variety<br>
of mobile devices.<br>
The Nokia.
Enter the website URL below.
<input type='text' id='userinput' value='http://aspaceplace.mobi6.net/' size="30" name="T1" />
<button onclick="ray.changeIframe('userinput','myframe');">Test Now!</button>
Now try ...
<a href="index.htm">Iphone</a>
<a href="blackberry.htm">Blackberry</a>
<a href="android.htm">Android</a><br>
<td width="360" height="639" background="nokia.jpg">
<p align="center">
<iframe id="myframe" width="275" height="216" src="http://aspaceplace.mobi6.net/">
Your browser does not support inline frames or is currently configured not to display inline frames.

<script type="text/javascript" src="geturl.js"></script>

And here is My Web Page (http://mobi6.net/case-studies/)

The first page is OK ( The Iphone. )
When you click on Small Droid or Nokia
the resulting page is mis-aligned.

I made some changes but they didn't take effect.

Is that javascript cookie creating a cache ?

If its not that, how do I kill the cache, because I can not see the
updates I make.