...

View Full Version : Wrapping style inside an IFRAME



rsp12uk
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!

Basscyst
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.



<html>
<head>
<style type="text/css">
#my_div
{
width:200px
}
</style>
</head>
<body>
<div id="my_div">
My text goes here and it will go out 200 pixels before wrapping.
</div>
</body>
</html>


Basscyst



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum