Results 1 to 3 of 3

Thread: Firefox help!

  1. #1
    Join Date
    Jun 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Firefox help!

    Okay, I'm pretty new to HTML and stuff, so don't be too shocked at my awful coding and what not...

    Basically my problem is:

    I have an iframe layout on my website, and in IE it shows up perfectly. But in Firefox this it not the case. Instead of seeing the actual content, you can see the page's html.

    I have a very simple code:



    <div style="width: 550px; height: 402px;" id="Content">
    <iframe style="width: 530px; height: 368px;" name="iframe" src="main" frameborder="0" width="100%">If you can read this, your browser doesn't support i-frames. </iframe>

    Any ideas on what's wrong? As I said, I'm new to all this, so don't use all technical computer language...

    If it's really necessary, I can post my site URL, although I'd rather not as my site is an embarrassing mess at the moment.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    This is what's wrong:

    Code:
    src="main"
    It needs to be like:

    Code:
    src="main.htm"
    But, the page main.htm has to exist and have the desired content on it. You could also have a page named:

    Code:
    src="main.html"
    or, if your server does PHP and serves that as mime type 'text/html' it could be named:

    Code:
    src="main.php"
    or, with the same caveat for asp:

    Code:
    src="main.asp"
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jun 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ah, so simple. I always make these tiny mistakes that cause a huge problem.

    Thanks so much!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •