View Single Post
  #2 (permalink)  
Old 04-15-2011, 10:06 AM
ScriptMan's Avatar
ScriptMan ScriptMan is online now
Super Moderator
 
Join Date: 02-10-07
Location: Central Kentucky
Posts: 10,070
iTrader: 4 / 100%
I can't write this stuff off the top of my head. I have to write and then see how it behaves, then modify until I get it right. Maybe I can get you started.

To the css file add a new div declaration where the X and Y in the example are modified to the numbers you want.

PHP Code:
#newdiv {
    
floatleft;
    
heightXpx;
    
widthYpx;

Then in your html add the part just above the closing body tag:
PHP Code:
<div id="left">

</
div>
<
div id="newdiv"> <!-- Opens the new div-->
add your script here

</div>  <!-- closes the new div-->
</
body
Now you may or may not have to clear some floats to make that work.
 
Reply With Quote