I have been working on a website for a while now anyway, I've finally done the CSS layout (well pretty much) yet when I opened t in IE (I have been testing in Firefox) I discovered that the body and side bar boxes have both been squished. Here is the code:
#centerBody {
background-image:url('/includes/bg-image/CenterBody.png');
background-repeat: no-repeat;
float: left;
height: 300px;
width: 466px;
padding: 9px;
}
#sideBox {
width: 180px;
background-image:url('/includes/bg-image/sideBarPNG.png');
background-repeat: no-repeat;
padding: 9px;
padding-right: 30px;
height: 300px;
float: left;
}
In Firefox I have to boxes with neat curved borders, however in IE they have been trimmed so you can't see the bottom and right borders! I can fix this but then Firefox pushes the body (which is on the right) onto the next line. BTW they are in a 704 pixel wide container. The boxes are 466 pixels wide and the side box is 180 pix wide, the image is actually 210~ pixels wide (with 30 pixels of padding on one side, both boxes have 9 pixels of padding- bear in mind they are separated by a small gap) I believe the problem is due to the padding.Maybe if their is a IE version of padding?
Oh yeah, is it Firefox or IE that's misbehaving??? (My experience says its IE)


Sign In
Create Account


Back to top










