A
AAaron123
A iframe element always shows white background in IE7.
In Firefox it shows the color defined in the class attribute.
Can I get IE7 to do likewise somehow?
Thanks in advance
I have the following in a context file:
<asp:Content ID="Content2" ContentPlaceHolderID="RightCPH" runat="server">
<div id="Div3" runat="server" class="MainMasterDataNormal" >
<h5>ARTICLES </h5>
</div>
<%-- Must use name per test and documentation. With Id target does not work.
Opens in new window--%>
<iframe name="ArticlesFrame" frameborder="0" src="Make Black.htm"
class="MainFrame" height="533">
</iframe>
</asp:Content>
The Style sheet file contains:
..MainFrame
{
background-color: black;
width: 95%;
margin: 10px;
}
Which sets the margin and width OK but not the backgroung color.
I can force the color by including:
src="Make Black.htm"
which has a black background, but I really want it to either use the class
or else inherit from the container background color.
In Firefox it shows the color defined in the class attribute.
Can I get IE7 to do likewise somehow?
Thanks in advance
I have the following in a context file:
<asp:Content ID="Content2" ContentPlaceHolderID="RightCPH" runat="server">
<div id="Div3" runat="server" class="MainMasterDataNormal" >
<h5>ARTICLES </h5>
</div>
<%-- Must use name per test and documentation. With Id target does not work.
Opens in new window--%>
<iframe name="ArticlesFrame" frameborder="0" src="Make Black.htm"
class="MainFrame" height="533">
</iframe>
</asp:Content>
The Style sheet file contains:
..MainFrame
{
background-color: black;
width: 95%;
margin: 10px;
}
Which sets the margin and width OK but not the backgroung color.
I can force the color by including:
src="Make Black.htm"
which has a black background, but I really want it to either use the class
or else inherit from the container background color.