Forum Moderators: open

Message Too Old, No Replies

can't get iframes working in ie

         

esllou

12:27 am on Nov 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



building a site for someone who insisted on frames. I persuaded them to at least accept iframes and this is all new for me.

I use FF on my home PC and had them working fine. A link in the left cell would open a page into the right cell:

menu:

<li><a href="contact.shtml" target="content">Contact Us</a></li>

right cell:

<iframe src="opening-page.shtml" frameborder="0" width="100%" height="100%" align="left" name="content">

worked like a dream.

then, when finished, opened it up in IE, click the "Contact Us" link and nothing happens in the "content" named frame.

are there any issues with iframes and IE I should be aware of?

esllou

11:43 am on Nov 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



discovered the problem was having a DOCTYPE declaration which caused IE problems.

which DTD should I have for a page which contains iframes?