the Iframe mystery in firefox
Posted: Thu Aug 14, 2008 6:02 am
Can anyone help with the trouble some iframe problem am having.
Ihave an Iframe that displays properly in IE 7 but comes with a huge padding at the top in firefox 3.0
Here's the html:
----------------------------------------------------------------------------------
<div id="example">
<div id="exampleFrame">
<table cellspacing=0>
<tr><td>
<iframe width="200" height="100! src="somesource" frameborder="0" scrolling="no">
</iframe>
</td>
</tr>
</table>
</div>
</div>
----------------------------------------------------------------------------------
Here's the css:
***************************************************************
#example {
width: 65%;
background-color: #FFFFFF;
margin: 10px;
border: thin solid #FF9900;
}
#exampleFrame {
background-color: #FFFFFF;
float: none;
clear: both;
padding-top: 0;
width: 75%;
}
****************************************************************
Thanks in anticipation.
Ihave an Iframe that displays properly in IE 7 but comes with a huge padding at the top in firefox 3.0
Here's the html:
----------------------------------------------------------------------------------
<div id="example">
<div id="exampleFrame">
<table cellspacing=0>
<tr><td>
<iframe width="200" height="100! src="somesource" frameborder="0" scrolling="no">
</iframe>
</td>
</tr>
</table>
</div>
</div>
----------------------------------------------------------------------------------
Here's the css:
***************************************************************
#example {
width: 65%;
background-color: #FFFFFF;
margin: 10px;
border: thin solid #FF9900;
}
#exampleFrame {
background-color: #FFFFFF;
float: none;
clear: both;
padding-top: 0;
width: 75%;
}
****************************************************************
Thanks in anticipation.