I am using the following CSS style code to position a background image in a div window:
div#midwindow {
background: url(backgrounds\back_news_dim.jpg);
background-position: 0px 0px;
background-repeat: no-repeat;
background-attachment: fixed;
}
Here is a sample webpage:
When viewed with Internet Explorer v6, the background image is positioned perfectly in the div window. With Internet Explorer v6, the image is shifted about a third of the way to the left. With Firefox v2, Netscape v7.2, and Opera v7.52, the background image is not displayed at all.
What code can I use to display and position the background image in a div window in the same position for all these web browsers (or at least IE v6 and v7 and Firefox)?
Thanks to anyone who can help me out.
div#midwindow {
background: url(backgrounds\back_news_dim.jpg);
background-position: 0px 0px;
background-repeat: no-repeat;
background-attachment: fixed;
}
Here is a sample webpage:
When viewed with Internet Explorer v6, the background image is positioned perfectly in the div window. With Internet Explorer v6, the image is shifted about a third of the way to the left. With Firefox v2, Netscape v7.2, and Opera v7.52, the background image is not displayed at all.
What code can I use to display and position the background image in a div window in the same position for all these web browsers (or at least IE v6 and v7 and Firefox)?
Thanks to anyone who can help me out.