# I know iFrames are terrible, but... (iFrame problem)

**URL:** https://forum.kirupa.com/t/i-know-iframes-are-terrible-but-iframe-problem/219205
**Category:** web dev
**Created:** [March 14, 2007, 6:19pm UTC](https://forum.kirupa.com/t/i-know-iframes-are-terrible-but-iframe-problem/219205 "2007-03-14T18:19:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dewey](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@dewey](https://forum.kirupa.com/u/dewey)
#### Post date: [March 14, 2007, 6:19pm UTC](https://forum.kirupa.com/t/i-know-iframes-are-terrible-but-iframe-problem/219205/1 "2007-03-14T18:19:20Z")

</div>

I have no other option really at this point…

I don’t want to use the src=“whatever.jsp” part of the iFrame…

I want to have everything inside… at the moment I have

```auto
<style type="text/css">

.mainIMSmacklet{
    width: 275px;
    height: 425px;
    position: absolute;
    left: 250px;
    top: 66px;
    border: #000000 thin solid;
    background-image: url("${pageContext.request.contextPath}/images/bg.gif");
    z-index: 10000;
}

</style>

<script type='text/javascript' src='/imSmacklet/DWRIMManager/engine.js'></script>
<script type='text/javascript' src='/imSmacklet/DWRIMManager/util.js'></script>

<iframe id="chatSmacklet" class="mainIMSmacklet">
</iframe>

```

Now this part is working, I have a nice little iFrame, right where I want it on the page. the background is there, and to quote Borat, “is nice!!”

This is my problem, I want to put some stuff in here… nothing I put in, be it tags with text or simple tags, they don’t show up…

I can’t seem to find any reason why though… any ideas?

Thanks,

–d
