Web Design Forums

Welcome! Please register or log in: Forgot your password? Why register?
You are here: Web Design Forums » Web Design Help » HTML and CSS Help » iFrame Length Resizes According to Content - No Scroll Bar RSS

iFrame Length Resizes According to Content - No Scroll Bar

This thread was started by jihanemo and has been viewed 580 times, and contains 4 replies, with the last reply made by jihanemo.
Post Reply
1
View jihanemo's reputation
jihanemo, WDF Noob Private message  
Posted June 26 '09 at 08:30 PM
      Posts: 4
On my website, my blog is embedded within an iFrame. But as the blog posts increase, I would like the length of the iframe to increase (WITHOUT a scroll bar!). Is there a code for this?

(sorry - not sure if this should have been posted in css or javascript)

Advertisement Register for free to hide these ads and participate in discussions!

2
View Lumination's reputation
Posted June 27 '09 at 05:18 PM
      Posts: 1
Just curious as to the reason you would need an iFrame... ?

Anyway, try setting the scrolling property to "no" in your iframe tag and see if that helps. Also, I do not know the effect of the overflow CSS property on iframes, but you may try setting overflow to visible as well.

3
58 points at 100%
imagn, WDF Addict! Home page   Private message  
Posted June 28 '09 at 08:01 PM
      Posts: 156
You're killing the searchability using an iFrame...

4
44 points at 77%
Dorky, Freelance Home page   Private message  
Posted June 29 '09 at 01:27 AM
      Posts: 792
actually no. this is only rumor. youtube uses iframes as well as many other large company sites. lynx web browser is the standard that google tells you to design to. it is a text based browser. i have and will continue to use iframes as well youtube im sure. if your site can be navigated by a text based browser you are fine. as for the size. you will need serverside scripting for this. i suggest php as it is open source and provided by most hosting plans. you will need to know the width and height of said page, i dont know that this can be made dynamic although imagn may pull the card of exp for this, he's good. choose your method of sending and recieving the size variable and use these in place of height width in your iframe parameters.
“Imagination is more important than knowledge. For knowledge is limited to all we now know and understand, while imagination embraces the entire world, and all there ever will be to know and understand.” Albert Einstein

5
View jihanemo's reputation
jihanemo, WDF Noob Private message  
Posted July 9 '09 at 03:12 PM
      Posts: 4
Thank you for the advice, everyone! I think I'll just remove the iframe, got back to the Blogger template, and try to insert the header image and fill in the background color and leave it as that. The iframe isn't working out.

Post Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
firefox problem diddy HTML and CSS Help 3 August 18 '08 08:45 PM
Scroll bar problem carlg HTML and CSS Help 1 September 18 '07 09:30 PM
How do I wrap a div in another? Jason HTML and CSS Help 4 May 18 '07 05:26 PM
Layout Basics JR Coding Articles & Tutorials 13 April 29 '05 11:02 AM
Extra iframe scroll bars in Firefox but not in IE beretdude HTML and CSS Help 6 March 14 '05 09:16 AM