Crew-Portal Posted October 5, 2007 Share Posted October 5, 2007 <iframe name="tsviewer" allowtransparency="true" src="http://www.sitename.com/bla.php?blabla=myaccount" width="" height="" frameborder="0" style="width: px; height: px; border:0px solid #;" scrolling="auto" ></iframe> K this is my delema. My width gets set to like 100px and my width the same. So... is ther a way to make an Iframe change size to fit what it needs to fit? like if one day the width is of the original location is 150 and the width is 300, and the next day the width is 450 and the height is 300 then it will automatically change the size on the website without any coding change! Quote Link to comment Share on other sites More sharing options...
EvanAgee Posted October 7, 2007 Share Posted October 7, 2007 Maybe I missed something, but couldn't you just set it to 100%? You don't need both width="" AND style="width: px;". Just use style="width: 100%;". Let me know if I'm missing something here. Quote Link to comment Share on other sites More sharing options...
pleek Posted October 9, 2007 Share Posted October 9, 2007 wouldn't u just use style="width: number; height: number" substitute "number" for the width and height u want. (style="width: 25px; height: 25px" for pixles) by setting this to something larger that what it is ever been the extra will be cut off automatically. Quote Link to comment 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.