PDA

View Full Version : problem with iframes


cjs
11-11-2005, 09:30 PM
Can someone help me with I frames, I am unfamilar with them. I am creating a page with a letter that is too long to fit and I want it to be albe to scroll.

I created a layer in Dreamweaver, and inserted the following script to create an iframe

<iframe src="newpage.htm" width="375" height="310"
frameborder="0" scrolling="auto" name="myInlineFrame">
TEXT FOR NON-COMPATIBLE BROWSERS HERE</iframe>

It works good, however when it pulls up the page in a browser, it centers itself. I want the layer and the iframe to stay to the right of the page where I have placed it in Dreamweaver. Is this possible, and how do I fix it?

Any help is greatly appreciated.

Creative Insanity
11-11-2005, 10:41 PM
<table width="100%" border="0" cellpadding="0">
<tr>
<td align="right" valign="top"><iframe src="newpage.htm" width="375" height="310"
frameborder="0" scrolling="yes" name="myInlineFrame"></iframe></td>
</tr>
</table>

cjs
11-11-2005, 10:55 PM
I tried using that, but it still centers it on the page. What am I doing wrong? Does Dreamweaver have a simpler way of making an html text box scroll?

Thank you for helping me!

Creative Insanity
11-11-2005, 11:20 PM
demo ('http://www.webthings.org/ci/iframe.html')

domedia
11-12-2005, 01:31 AM
Does Dreamweaver have a simpler way of making an html text box scroll?
http://www.dreamweaverclub.com/css-scroller.php ('http://www.dreamweaverclub.com/css-scroller.php')