Help - Search - Members - Calendar
Full Version: Coding help: Why the f*ck won't the right page show up in the iframe?
Forums > Resource Center > Webmasters' Corner > Webmasters' Corner Resolved Topics
jujuju
I am trying to put together a website and I'm coding using Notepad. This is my code for my index:

QUOTE
<html>
<head>
<title>index.html</title>

<link rel="stylesheet" href="css.css" type="text/css">
</head>
<body scroll=no>
<center>
<table width=701px>
<tr>
<td colspan=2><img src=scarlett.png border=1></td></tr>
<tr><td width=200px bgcolor=grey>navigation</td>

<td width=501px><iframe src="wtf.html" width="501px"

height="100%"></iframe></td>
</tr>

</table>

</body>


Now, every time I look at my file in Mozilla, instead of loading "wtf.html" in the iframe, it loads this:

QUOTE
File not found


Firefox can't find the file at /C:/Documents and Settings/Admin/My Documents/cap'n/My Photos/layouts/index 1/news.html.





* Check the file name for capitalization or other typing errors.

* Check to see if the file was moved, renamed or deleted.


Why the HELL is it doing this?!?
WHIMSICAL 0NE
In your IFrame you might have to write out the entire URL, rather than just that portion. Have you tried that?
clarity
you need to make a page JUST for an iframe, and the have a link open into it.

If you want, I can help out since that above^ Sounded confusing.
freeflow
^ He did that. In the iframe src="wtf.html". "wtf.html" is his page. Its linked in the iframe under src.

What Dee was telling him to attempt is to type in the full url (ex: www.toyaisawesome.com/wtf.html) rather than just the name. (Even though usually both work)

Thats really odd (the problem) do what Dee said if that doesn't work try not looking in firefox but something else. If you actually upload your site and it works, forget about firefox.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.