# Relative Div Bug in IE? help!

**URL:** <https://forum.kirupa.com/t/relative-div-bug-in-ie-help/271397>\
**Category:** web dev\
**Created:** [September 22, 2008, 6:51pm UTC](https://forum.kirupa.com/t/relative-div-bug-in-ie-help/271397 "2008-09-22T18:51:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![capseaslug](https://avatars.discourse-cdn.com/v4/letter/c/7cd45c/32.png) [@capseaslug](https://forum.kirupa.com/u/capseaslug)\
**Post date:** [September 22, 2008, 6:51pm UTC](https://forum.kirupa.com/t/relative-div-bug-in-ie-help/271397/1 "2008-09-22T18:51:29Z")

</div>

I am trying to create an image that stays in one place no matter how large the window is. This seems to work great in FF but when i open it in IE the image is not where i positioned it! Has anyone ever seen this? Thanks.

```auto
#apDiv4 {
    position:relative;
    left:370px;
    top:328px;
    width:154px;
    height:130px;
    z-index:1;
    clip: rect(auto,auto,auto,0px);
    margin-left: auto;
    margin-right: auto;
}

```
