iframe size problem

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
sarris
Forum Contributor
Posts: 137
Joined: Mon Dec 04, 2006 2:44 pm

iframe size problem

Post by sarris »

Hi there,
i have a problem with the size on the inline frame in my page.

I have this table

Code: Select all

<table width = "80%" height="10%">
	<tr>
		<td width = "85%"><img style="width: 100%;" border="0" src="/images/houseonmap.JPG" alt="Spiti.gr" align="top"></td>
		<td width = "15%" bgcolor=#FFCC00><iframe src="login_frame.php"></iframe></td>
	</tr>
</table>
The frame allways appears with much bigger height than 10% and appears bigger in height than the img on the first cell.
If i take out the frame though and have plain text, for example, everything has the correct size.
Even if the page of the frame contains just a word, the frame height is bigger.

Anyone knows why this happens?
How can i solve it?
Thanks[/syntax]
Post Reply