
Originally Posted by
Mehok
ok what you might want it is
Code:
<div id="main">
<div id="pic"> </div>
</div>
and css
Code:
#pic {
width: ??
height: ??
border-top: size color url(images/pic_top.jpg);
border-bottom: size color url(images/pic_bottom.jpg);
}
and use padding instead of a margin and make sure it adds up its simple maths
Well, I used padding instead of margin and it made no change. All the math adds up and the position is right in the code. For some reason, IE 7 has decided that it wants it moved about 200px to the right of where it should be. Firefox looks good and so does the dreamweaver preview mode, but IE 7 doesn't like it.
Has anyone seen this error before?
Thanks for the help
Thanks DD, you saved me countless times
Bookmarks