bobbinsbro Posted March 15, 2009 Share Posted March 15, 2009 hi all. i'm using an <object> tag to load dynamic content into a static html template without using javascript (otherwise i would use a <div>). i would like the size of the <object> to stretch to the size of the content, like a div does. basically, i want to have to scroll the page and not the <object>. is there any way to do this, or should i consider a different solution? i really want to do achieve this (or a similar result) without using javascript. thanx in advance. Quote Link to comment https://forums.phpfreaks.com/topic/149505-streching-size-to-fit/ Share on other sites More sharing options...
Daniel0 Posted March 15, 2009 Share Posted March 15, 2009 Dunno if it'll work, but try to set the width to 100%. Quote Link to comment https://forums.phpfreaks.com/topic/149505-streching-size-to-fit/#findComment-785358 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.