Forum Moderators: open

Message Too Old, No Replies

Iframes and Dreamweaver MX

My Iframe isn't working at all.

         

grimfusion2

1:37 am on Apr 14, 2004 (gmt 0)



I'm making a site in Dreamweaver. The first page links to a 640x480 popup window with a table. The iframe I'm trying to create is set inside the table.

here's the code I use:
<iframe src="main.htm" width="200" height="200" name="maincontent" frameborder="0">
</iframe>

I have main.htm stored in the same directory with a page background color set to red. For some reason, when I test out my site in IE, the iframe wont display at the right size or show the red background of main.htm. Is there a problem with MX that keeps me from using iframes? If anyone knows of a fix or knows what I'm doing wrong, I could sure use a little help.

Purple Martin

5:11 am on Apr 14, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I just tested your code in Dreamweaver MX. Although the iframe doesn't show in the Design View window, it does show when previewed in a browser. I guess you'll just have to do what most people do and Alt-Tab a lot as you build your page.