Aaron Posted December 7, 2011 Report 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
freshJet Posted December 7, 2011 Report Posted December 7, 2011 <iframe src="http://www.example.com" scrolling="no"> Google is your friend next time though Quote
Aaron Posted December 7, 2011 Author Report 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
Tom Posted December 8, 2011 Report Posted December 8, 2011 Good luck. You'd be better off skinning your forums. Quote
Moderators mark1million Posted December 8, 2011 Moderators Report Posted December 8, 2011 Try embed instead of iframe, http://www.htmlcodetutorial.com/embeddedobjects/_EMBED.html Quote
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.