# Positioning flash vs IE = hair loss : please help

**URL:** https://forum.kirupa.com/t/positioning-flash-vs-ie-hair-loss-please-help/237551
**Category:** web dev
**Created:** [August 31, 2007, 10:32am UTC](https://forum.kirupa.com/t/positioning-flash-vs-ie-hair-loss-please-help/237551 "2007-08-31T10:32:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![hoolagon](https://avatars.discourse-cdn.com/v4/letter/h/58956e/32.png) [@hoolagon](https://forum.kirupa.com/u/hoolagon)
#### Post date: [August 31, 2007, 10:32am UTC](https://forum.kirupa.com/t/positioning-flash-vs-ie-hair-loss-please-help/237551/1 "2007-08-31T10:32:20Z")

</div>

Hello

Yet again IE is causing me to pull my hair out.  
[link](http://kigwana.com/clients/booyippee/flash/)I am trying to line up the logo to the top of this page. It works fine in FF, but in IE7 it refuses to go where its told. I haven’t been able to see it in IE6 yet.

This is the xhtml

[COLOR=Blue]\<div id=“top\_bg”\>  
\<div id=“flashcontent”\>  
\<div id=“nonflashlogo”\>\</div\>  
\</div\>  
.  
.  
.  
.  
.  
.  
\</div\>  
[/COLOR]  
And the css  
[COLOR=Blue]  
#flashcontent {  
margin-top: -20px;  
margin-left: -290px;  
position: absolute;  
height: 175px;  
width: 590px;  
z-index: 10;  
left: 50%;

}  
#nonflashlogo {  
margin-top: 73px;  
margin-left: 7px;  
position: relative;  
width: 590px;  
height: 175px;  
background: url(‘logo.png’);  
z-index: 5;  
}

[COLOR=Black]…[/COLOR]

#top\_bg  
{  
background-image: url(images/top.jpg);  
width: 100%;  
height: 375px;  
background-position:center top;  
background-repeat: no-repeat;  
z-index:1;

}[/COLOR]

The weird thing is that before the flash detection kicks in the alternative nonflashlogo is displayed in the correct location.

Does anyone have more of a clue than me as to what is going wrong here?

Thanks,

Julian
