It works
perfectly on my machine with IE6.
Dan wrote:
Hello everyone seasons greetings to you all.
I have a small problem in, you guessed it, IE. I have a wrapper div
which a bg image pushed to the top left and is 115px wide. Nested in
tha, wrapper, div is a container div with a left margin of 115px
which is there in order to reveal the image on the left. The problem
lies in that in FF and Opera the container div is moved 115px to the
left but in IE it is pushed right up against the left side of the
browser window.
CSS:
#wrapper {
background: url(../images/bgleft.jpg) no-repeat left top;
margin: 0px;
padding: 12px 0px 0px;
}
#container {
background: #FFF;
border: 3px solid #473822;
border-bottom: none;
margin: 0px 20px 0px 115px;
padding: 4px 3px 3px 0;
width: 751px;
voice-family: "\"}\"";
voice-family: inherit;
width: 763px;
}
Markup:
<div id="wrapper">
<div id="container">
<!--- ...... -->
<!--- ...... -->
</div>
</div>
Any body know whats going on here, or could point me in the right
direction to a article on this type of thing?
Thanks
Dan
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************
|
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.298 / Virus Database: 265.6.6 - Release Date: 12/28/2004