homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

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

10+ Year Member

Msg#: 4191667 posted 10:38 pm on Aug 24, 2010 (gmt 0)

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?


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved