PRB: IE4 Not Displaying Background ImagesID: Q175191
|
Pages created with Visual InterDev's DataForm Wizard do not display background images in Internet Explorer 4.0.
The underlying cause of this behavior is that Internet Explorer 4.0 adheres much closer to the HTML 3.2 spec than before. Per the Cascading Style Sheet (CSS) spec, CSS tags take precedence over HTML tags. Pages created using the Data Form Wizard have a reference to a cascading style sheet. The CSS has a tag for the background image of Transparent, thus overriding any value in the body tag of the ASP file.
Delete the "background: transparent;" line from the BODY property of the Cascading Style Sheet.
Per the CSS spec, this behavior is by design.
<STYLE>
BODY {
font: 10pt "Arial";
margin-left: 0px;
text-align: left;
color: Black;
background: transparent;
}
</STYLE>
<HTML>
<BODY BACKGROUND="images/image.jpg">
</BODY>
</HTML>
http://premium.microsoft.com/support/ie/iewin32/css/default.aspFor the latest Knowledge Base articles and other support information on Visual InterDev and Active Server Pages, see the following page on the Microsoft Technical Support site:
http://support.microsoft.com/support/vinterdev/
Additional query words: background
Keywords : kbnokeyword kbwizard kbVisID kbVisID100 kbVisID600 kbGrpASP
Version : WINDOWS:1.0,4.0,6.0
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: May 7, 1999