How do I insert one JS object after another and have the containing DIV automatically expand to fit?
Right now, my DIV has this but only one of the inserted objects is appearing. The other, I assume is directly on top of the first.
Code:
<div id="center">
<script language="javascript" type="text/javascript" src="page1.js"></script>
<script language="javascript" type="text/javascript" src="page2.js"></script>
</div>
The current CSS for the DIV is as follows:
Code:
#center { position: absolute; top: 171px; margin-left: 166px; background:#000000; width: 789px;
}
Any help would be appreciated.