Aaron Posted December 7, 2011 Report Share Posted December 7, 2011 Hi, I made an iframe for my events and forums. Is there a way to get rid of the scroll bar in the iframe and make it so the height of the iframe depends on the height of the page it's displaying. I'm trying to make it so the main theme is there throughout the whole site and am using allot of iframes, but I hate the stupid scroll bars in them. Thanks Quote Link to comment Share on other sites More sharing options...
freshJet Posted December 7, 2011 Report Share Posted December 7, 2011 <iframe src="http://www.example.com" scrolling="no"> Google is your friend next time though Quote Link to comment Share on other sites More sharing options...
Aaron Posted December 7, 2011 Author Report Share Posted December 7, 2011 All that does is get rid of the scroll bar and cuts the page off if it doesn't fit in the specified height. I want the iframe to adjust it's height to fit all the content on the page, because the forum gets longer depending on how many posts there are, so I dont want the scroll bar, but I want all the contents to fit in the window as well. I've googled it and nothing so far Quote Link to comment Share on other sites More sharing options...
Tom Posted December 8, 2011 Report Share Posted December 8, 2011 Good luck. You'd be better off skinning your forums. Quote Link to comment Share on other sites More sharing options...
freshJet Posted December 8, 2011 Report Share Posted December 8, 2011 Check w3schools.com. Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted December 8, 2011 Moderators Report Share Posted December 8, 2011 Try embed instead of iframe, http://www.htmlcodetutorial.com/embeddedobjects/_EMBED.html 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.