Log in

View Full Version : Iframe help ... sliced images not lining up around it!!



FaerieMajikk
08-13-2008, 02:58 AM
Help...I am coming up with a layout but not sure about iframes...have my layout created in PSP and sliced i have added an iframe to my layout but one of my sliced images doesn't sit next to it properly...It shows the blue background beneath...

here's the page:
http://www.faeriemajikk.com/demoindex.htm
please...this is driving me nuts...what have i missed or not done right??
MODS wasn't sure if this was a html related or if it goes under another heading

TheJoshMan
08-13-2008, 03:47 AM
I really wouldn't advise using an IFRAME, but to fix your problem you need to change the "colspan" of the <td> that holds your IFRAME from "1" to "2".



<td height="317" width="249" colspan="2">
<iframe height="546" frameborder="0" width="100%" marginwidth="0" cellpadding="0px" src="demohome.html" name="icemaidenframe">
<html xmlns="http://www.w3.org/1999/xhtml">
</html>
</iframe>
</td>

FaerieMajikk
08-13-2008, 06:10 AM
I will try that...umm i am wondering... why shouldn't i use iframe? is there a better alternative?
The whole reason that I am using it is so i can have content in the frame that will stay only in that frame.
Does that make sense? Is there another way of having or containing content in that specific area...without it messing up the table?
Thanks in advance

TheJoshMan
08-13-2008, 11:20 AM
IFRAMES are generally used when you want EXTERNAL content (content which is not native to that particular page) to appear. To keep content in a certain area, I would recommend simply using a DIV.



<div height="blah.px" width="blah.px">
This is the content
</div>