Forum Moderators: not2easy
<div id="pageContent" style=" overflow:auto; background-image:url(background.png); top:20px; left: 20px; right:20px; display:block; width:1000px; height:500px;">
Content here.
</div>
Does anyone have any suggestions? Thanks in advance.
I hope that this is in the right forum. I think that this is a CSS problem, but I'm not sure...
#pageContent {
overflow: auto; background-image: url(background.png); top: 20px; left: 20px; /*****right: 20px;*/ /******display: block;*/ width: 1000px; height: 500px;
}
I would question the need for {display: block;}. Are there other factors on the page that would make it useful?
A particular reason that you chose position: over margin: ?
I would also question {right: 20px;}? You've set top, left, and defined the width. What does that do for you in positioning the container?
Possible that it doesn't like the .png ? IE and .png not always best of friends.
I'm not saying that any of these choices are wrong; just asking questions.