Welcome to WebmasterWorld Guest from 54.146.239.96

Forum Moderators: incrediBILL

Message Too Old, No Replies

scrollbar for html content in iframe/object [IE issue]

ie displays no scrollbar for iframe/object

     

majjk

10:38 pm on Aug 24, 2010 (gmt 0)

10+ Year Member



I'm trying to show html content (a file where the content is wider than the iframe/object area) by using the object tag, as iframe seem no good in html strict. However, regardless if I try iframe or object to show my content, IE (only tried in 7 so far) refuse to use a horizontal scrollbar, instead it compress the content in the iframe/object so that it fits the defined 500x400 pixel area... which isn't pretty if it originally was three times as wide.

<object data="page.php" type="text/html" width="500" height="400"></object>

<iframe src="page.php" width="500" height="400"></iframe>


Is there some kind of IE issue regarding iframe/object and scrollbars?