Welcome to WebDesignForums.net!
You're currently viewing WDF as a guest. By registering for a free account, you'll be able to participate with other members in our friendly community. Being a member allows you to ask questions and get answers for those troublesome web development tasks!

In addition, as a member you'll be able to post your websites up for review. Using our unique website review system you can gain some amazing feedback from some of the best web developers around. This is a completely free service to all registered members.

Ready to register yet? Registration is 100% free. Click Here To Join Now!

<iframe> problems in IE

Discussion in 'HTML and CSS Help' started by stairatthesun, Jul 28, 2007.

  1. Offline

    stairatthesun Member

    Message Count:
    92
    Likes Received:
    0
    Trophy Points:
    6
    Hello everyone...
    I am using iframes... and I know that is not a good thing (for multiple reasons)... but for not it will have to do until I can learn PHP includes.
    Basically, the problem is though.... when my page loads, the iframe is positioned in a certain spot and when the window is resized it stays in that spot and gets cut off (check ou the site to see what i mean).
    Also, for some reason, in IE, my table does not render at 780px wide... and therfore the image on the right (the placeholder box with an 'x' inside) renders without the 25px margin that should be there.
    The site shows fine without these problems in FF. Can anyone help, please!
    http://www.threeriversoutfitters.net/home.html


  2. Offline

    -chris- I'm a man of my word.

    Message Count:
    1,205
    Likes Received:
    0
    Trophy Points:
    36
    Gender:
    Male
    Location:
    SK
    Well, includes are easy. Add the following where you want the included info to be placed:
    <?php include("PATHTOFILE"); ?>

    Once that is in place, you will need to change the extension of the page from .html to .php, and that is it.


  3. Offline

    stairatthesun Member

    Message Count:
    92
    Likes Received:
    0
    Trophy Points:
    6
    Well, I really don't want to use PHP right now... like I said, I've never used it before and I don't have time to redesign.

    But, I've just found a temporary solution... and pretty much scrapped positioning the iframe and just placed it within a table.

    Any answers would still be nice though so I can understand the problem.

    thanks!


  4. Offline

    stairatthesun Member

    Message Count:
    92
    Likes Received:
    0
    Trophy Points:
    6
    Hello again! I have another question and it kind of pertains to this thread so I decided there is no reason to create another.

    I started looking at PHP includes today... and I don't think that will work for my site. If I understand them correctly... they refresh the page, right? My problem is I have a flash navigation at the top of the page that has a sound player and a background image that shuffles. This can't refresh every time someone clicks a link, which is why I went with an iframe.

    Is there anyway to make this work with includes so it never refreshes my page...? Or maybe some alternative that isn't includes.

    Thanks for the help!

    www.threeriversoutfitters.net/home.html


Share This Page