Posted by colin.steadman@gmail.com on 05/20/06 13:00
I'm trying to setup a small site with a few pages for a friend who runs
a karate club. To keep things simple the idea is to have a number of
very simple text pages he can open in notepad and update as he wishes.
These simple pages will then be displayed within an IFRAME when a link
button is clicked by changing the IFRAME's SRC attribute with
javascript.
To control layout I'm using a table. However when I add the IFRAME to
the table it completely messes things up below.
This link shows what the site should look like, I've commented out the
IFRAME to do this (require IE until I've found an alternative to
getElementById):
http://www.colinsteadman.com/karate/test.htm
And this is what happens when the IFRAME is turned back on:
http://www.colinsteadman.com/karate/testframe.htm
Could anyone tell me what the IFRAME is doing to mess things up, as I
expected it to simply fill its table cell and nothing else. And after
hours of changing things I cant seem to fix it.
TIA,
Colin
[Back to original message]
|