NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Web Design Discussion
Reload this Page iframe height attribute (%) problem

Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms.

Advanced Search
10 members in live chat ~  
NamePros Design Contests NamePros Design Contests
Forum Sponsorship
Join in on the FUN! You can start an affordable design contest and pick from entries talented members submit or you can enter a design contest for a chance to win CASH PRIZES! What are you waiting for? Get started in the fun TODAY! - Banners, Logos, Mascots, and MORE! (Please READ the design Contest section rules Prior to starting or entering a contest)



Closed Thread
 
LinkBack Thread Tools
Old 02-26-2004, 12:10 PM THREAD STARTER               #1 (permalink)
New Member
Join Date: Feb 2004
Location: HUNGARY
Posts: 2
Szan is an unknown quantity at this point
 



Sad iframe height attribute (%) problem


Hi,

If I set my iframe height attribute in px it works well but if set it in percentage (eg. 90%) it doesn't work, simply doesn't show the linked html file.
Did anybody see something similar?
Eg.: http://www.viptelcom.hu/forditasok/a...ozas_index.htm

Szan
Szan is offline  
Old 02-27-2004, 03:45 PM   #2 (permalink)
Senior Member
Join Date: Aug 2002
Posts: 1,255
deadserious has a spectacular aura aboutdeadserious has a spectacular aura about
 



I didn't see any iframes on your page just regular frames, but maybe try removing the column attribute.

Maybe try something like this:

<frameset rows="20%,*" framespacing="0" frameborder="NO" border="0">

or:

<frameset rows="20%,80%" framespacing="0" frameborder="NO" border="0">
deadserious is offline  
Old 02-28-2004, 01:58 AM THREAD STARTER               #3 (permalink)
New Member
Join Date: Feb 2004
Location: HUNGARY
Posts: 2
Szan is an unknown quantity at this point
 



Thanks for your answer. Some more detail about my question: You are right, the page is a framed and Dreamweaver templated one. If you see the source code of the bottom half of the page with light blue background (this is the body frame) you can find somewhere the following iframe code:

<!-- InstanceBeginEditable name="content" -->
<iframe name="content" src="bemutatkozas_content.htm" marginwidth="11" align="right" width=480 height="90%" frameborder="2" scrolling="auto"></iframe>
????: NamePros.com http://www.namepros.com/web-design-discussion/21871-iframe-height-attribute-problem.html
<!-- InstanceEndEditable -->

The height=90% is the problematic attribute because this way it doesn't shows the linked bemutatkozas_content.htm page but if I set the height attribute not in % but eg. pixel (height=90) the iframe works well.
When I tried to apply the same above iframe code on a new blank page there was no problem at all, the % worked well. Strange situation, at least for me.
I'don't know wether the DTD specification has any effect on iframe behaviour?!

Szan
Szan is offline  
Old 02-29-2004, 03:50 AM   #4 (permalink)
Senior Member
Join Date: Aug 2002
Posts: 1,255
deadserious has a spectacular aura aboutdeadserious has a spectacular aura about
 



Okay I see what you're talking about now, but I don't understand why it only works with the height in pixels either. I'm thinking that it may have something to do with where you've used absolute positioning for some of your divs or something, but I dunno.
deadserious is offline  
Old 02-29-2004, 06:03 AM   #5 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer
are table heights getting in the way?
adam_uk is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 07:41 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger