html and iframes

http://charlestonhomehunters.com/test/test5.asp

the problem is that I am using 2 DIV's and one with an iframe, this way i can hide one or the other depending on if i am displaying a still image or the vitual tour(VT). The problem is when i click on the vitual tour, it leaves a gap between the contact and VT, but when i click on a still image there is no gap (don't worry that the still images are not linked). IE does not leave that bad of a gap, but motzilla leaves a huge gap, is there any fox to get rid of the gap or is it a problem of the browsers.
javajamminmanAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

M256Commented:
Hi javajamminman,

I noticed something in your JavaScript.  Change this:
document.all['imagearea'].style.display = '';
to this:
document.all['imagearea'].style.display = 'block';

Please wait while I look at the main problem...

Matthew
0
M256Commented:
OK, I think I have it figured out.  Your iframe is taller than its contents.
Change your iframe height from 350 to 325 like so:

<iframe src="applet.asp?file=img_0009_0360.jpg" width="350" marginwidth="0" height="325" scrolling="no" frameborder="0" vspace="0" id="appletiframe">
</iframe>

Matthew
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
javajamminmanAuthor Commented:
Yeah, after you pointed me in the right direction, my applet had a hieght of 325 but my Iframe was 350, so thats why it had the gap.....All is well now,
thanks
0
M256Commented:
javajamminman,

Glad I could help out.

I am curious: why did you give me a grade of B?
I didn't just "point you in the right direction;" I gave you the exact answer you needed.

Matthew
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.