View Full Version : Help... (don't know if this really fits here)


Serena-chan
01-25-2003, 10:27 PM
I think I have a coding error somewhere. But I'm making this pop-up design and I want an iframe in it. Only for some reason the frame won't show up. I've used iframes before and it has always worked in the past. Any suggestions? Am I even making sense?

lilchici13
01-25-2003, 10:28 PM
well you u post a link or the source code that would REALLY help :)

Serena-chan
01-25-2003, 10:30 PM
Here is the source code cause I don't have it out on the net yet.

<TABLE WIDTH="717" CELLPADDING="0" CELLSPACING="0" BORDER="0">
<TR>
<TD VALIGN=Top>
<P>
<IMG SRC="images/main1.jpg" WIDTH="317" HEIGHT="52" VSPACE="0" HSPACE="0"

BORDER="0"></TD>
<TD VALIGN=Top>
<P>
<IMG SRC="images/title1.jpg" WIDTH="400" HEIGHT="52" VSPACE="0" HSPACE="0"

BORDER="0"></TD>
</TR>
<TR>
<TD VALIGN=Top>
<P>
<iframes src="main.html" name="main" width="317" height="522" noresize framespacing="0" frameborder="0"

Scroll="Automatic"></iframes></TD>
<TD VALIGN=Top>
<P>
<IMG SRC="images/main4.jpg" WIDTH="400" HEIGHT="522" VSPACE="0" HSPACE="0"

BORDER="0"></TD>
</TR>
<TR>
<TD VALIGN=Top>
<P>
<IMG SRC="images/main5.jpg" WIDTH="317" HEIGHT="27" VSPACE="0" HSPACE="0"

BORDER="0"></TD>
<TD VALIGN=Top>
<P>
<IMG SRC="images/main6.jpg" WIDTH="400" HEIGHT="27" VSPACE="0" HSPACE="0"

BORDER="0"></TD>
</TR>
</TABLE>

If you couldn't tell I'm using tables and thanks.

lilchici13
01-25-2003, 10:35 PM
<div style="position: absolute; top:0; left:0">
<IFRAME src="yourpage.html" name="frame" width="317" height="522" frameborder="0"></IFRAME></div>

ok your mistake was after name you put main when it was supposed to be frame hope this helps!

Serena-chan
01-25-2003, 10:40 PM
Okay I tried that and it still doesn't seem to be working at all. :'( What are the div tags? Do I need those around the Iframe tag like you have it?

lilchici13
01-25-2003, 10:44 PM
yea i would just paste the code that i gave you in place of yours and just change the height and width and put in yourpage when it says yourpage.html don't change anything else

Serena-chan
01-25-2003, 10:48 PM
Okay I don't know what is going on with it, cause I've never had this much trouble with iframes before... I copied straight over and it still doesn't work...

lilchici13
01-25-2003, 10:49 PM
yea but did u put your info in where i told u to:)

Serena-chan
01-25-2003, 10:51 PM
What do you mean? I changed the info so it would open main.html, and the size to the correct one.

lilchici13
01-25-2003, 10:58 PM
oooooo ok try but the code after all the tables. just see if it works

Serena-chan
01-25-2003, 10:59 PM
Nevermind, I got it figured out in a weird way. I mean it works but I'm still not sure what caused it not to work before.

lilchici13
01-25-2003, 11:02 PM
did u put it after the tables?

Serena-chan
01-25-2003, 11:09 PM
No, I just copied the code I used on another of my sites... which was almost exactly the smae except for the page name and frame name. so I don't know...

Alcy
01-26-2003, 12:01 AM
The word "iframes" in your code should be singular, no "S" ;)

<iframe src="main.html" name="main" width="317" height="522" noresize framespacing="0" frameborder="0" Scroll="Automatic"></iframe>

Serena-chan
01-26-2003, 09:40 PM
ack! I can't believe I did that... wow I hadn't even thought of that. How strange. Thanks for pointing that out so I don't make the same mistake again.