PDA

View Full Version : Resolved iFrame messing up page



Cloud Ghost
Jan 30th, 2010, 02:45 AM
Hey guys,

I'm working on a site for a friend and I made a chatbox. I put it in an iFrame but I just noticed that the iFrame cuts off the footer.
You can see the chatbox page here: http://pinkcottoncandy.net/chatbox.php
And here is a normal page with the footer: http://pinkcottoncandy.net/site/index.php

If anyone knows how to fix this please reply ASAP. Also when you view the source of /chatbox.php the footer code is there but for some reason it won't show up on the page. Thanks.

Excavator
Jan 30th, 2010, 03:11 AM
Hello Cloud Ghost,
Pretty sure the browser sees no #footer because you do not close your iframe. Have a look at the errors the validator finds (http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fpinkcottoncandy.net%2Fchatbox.php).

Cloud Ghost
Jan 30th, 2010, 03:18 AM
Ah, that's the problem. x.x Thanks Excavator. :D