legendaryfig
12-07-2007, 09:09 PM
Hi,
I am having an issue with the boder on IE 6. On ever browser everything looks fine except for this one. There is an extra 20 pixels on the right side pushing the border out.
Some one please tell me where I am going wrong with my code!?!?
CSS:
#wrapper {
width:780px;
padding-bottom:5px;
margin-left:150px;
margin-top:5px;
margin:auto;
height:520px;
}
#canvas {
width:780px;
border: 1px solid #2177AD;
clear:both;
height:520px;
background-image: url(/images/logo.jpg);
background-repeat:no-repeat;
display: inline-block;
margin: 0px;
padding: 0px;
}
HTML:
<div id="wrapper">
<div class="shadow">
<div id="canvas">
<div id="nav">
<a href="about.html">about</a>
<a href="portfolio.html">portfolio</a>
<a href="resume.html">resume</a>
<a href="contact.html">contact</a>
</div>
</div>
</div>
</div>
I am having an issue with the boder on IE 6. On ever browser everything looks fine except for this one. There is an extra 20 pixels on the right side pushing the border out.
Some one please tell me where I am going wrong with my code!?!?
CSS:
#wrapper {
width:780px;
padding-bottom:5px;
margin-left:150px;
margin-top:5px;
margin:auto;
height:520px;
}
#canvas {
width:780px;
border: 1px solid #2177AD;
clear:both;
height:520px;
background-image: url(/images/logo.jpg);
background-repeat:no-repeat;
display: inline-block;
margin: 0px;
padding: 0px;
}
HTML:
<div id="wrapper">
<div class="shadow">
<div id="canvas">
<div id="nav">
<a href="about.html">about</a>
<a href="portfolio.html">portfolio</a>
<a href="resume.html">resume</a>
<a href="contact.html">contact</a>
</div>
</div>
</div>
</div>