# ie7 innerframe white background?

**URL:** https://forum.kirupa.com/t/ie7-innerframe-white-background/263692
**Category:** web dev
**Created:** [June 18, 2008, 11:26am UTC](https://forum.kirupa.com/t/ie7-innerframe-white-background/263692 "2008-06-18T11:26:26Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![tanicos](https://avatars.discourse-cdn.com/v4/letter/t/3bc359/32.png) [@tanicos](https://forum.kirupa.com/u/tanicos)
#### Post date: [June 18, 2008, 11:26am UTC](https://forum.kirupa.com/t/ie7-innerframe-white-background/263692/1 "2008-06-18T11:26:26Z")

</div>

hello

i am using target=“innerframe” and i get a white background in ie7 for that area. tried adding a transparent rule in the body but with no success.

this is part of the code related to the frame:  
\<li class=“sdsd”\>\<a href=“test.html” target=“innerframe”\>\<b\>sssss\</b\>\<!–[if IE 7]\>\<!–\>\</a\>\<!–\<![endif]–\>  
…  
\<iframe src=“test.html” width=“100%” height=“600px” scrolling=“no”  
frameborder=“0” name=“innerframe”\>  
asdasdsada\</iframe\>

works very good on ff but in ie6 and 7 i get the white background.  
hope you got something for me.thanks

---

<div class="post-metadata">

### Author: ![borrob](https://avatars.discourse-cdn.com/v4/letter/b/a87d85/32.png) [@borrob](https://forum.kirupa.com/u/borrob)
#### Post date: [June 18, 2008, 12:53pm UTC](https://forum.kirupa.com/t/ie7-innerframe-white-background/263692/2 "2008-06-18T12:53:02Z")

</div>

what is in src=“test.html”?

---

<div class="post-metadata">

### Author: ![tanicos](https://avatars.discourse-cdn.com/v4/letter/t/3bc359/32.png) [@tanicos](https://forum.kirupa.com/u/tanicos)
#### Post date: [June 18, 2008, 12:59pm UTC](https://forum.kirupa.com/t/ie7-innerframe-white-background/263692/3 "2008-06-18T12:59:54Z")

</div>

in that file i have normal text

---

<div class="post-metadata">

### Author: ![borrob](https://avatars.discourse-cdn.com/v4/letter/b/a87d85/32.png) [@borrob](https://forum.kirupa.com/u/borrob)
#### Post date: [June 18, 2008, 1:26pm UTC](https://forum.kirupa.com/t/ie7-innerframe-white-background/263692/4 "2008-06-18T13:26:54Z")

</div>

But that file is being displayed in your i frame so that should have the correct background then doesn’t it?

---

<div class="post-metadata">

### Author: ![tanicos](https://avatars.discourse-cdn.com/v4/letter/t/3bc359/32.png) [@tanicos](https://forum.kirupa.com/u/tanicos)
#### Post date: [June 18, 2008, 1:31pm UTC](https://forum.kirupa.com/t/ie7-innerframe-white-background/263692/5 "2008-06-18T13:31:20Z")

</div>

yes indeed. i tried with body {background:none} before \</head\>  
tried with \<body style=“background:none”\> and transparent too still nothing…i think it’s an ie7 frames thing
