View Full Version : Wrapping style inside an IFRAME

12-24-2003, 10:16 AM
Hi Everyone!

Got another question. How do I control how the content of IFRAME tag is wrapped, if there is only text in it?

Thanks a lot!

12-24-2003, 07:52 PM
Modify the coding inside the page that is actually displayed in the iframe. If you are showing someone elses page there isn't a whole lot you can do. If it is yours and you can modify your code, put the text in a div and then set it's width to whatever desired.

<style type="text/css">
<div id="my_div">
My text goes here and it will go out 200 pixels before wrapping.