March 23, 2011

Positioning stuff

use this code:

style="position:absolute; top:100px; left:100px; width:200px; height:200px; z-index: 1;"

inside the html tag of whatever you want to be moved (within the brackets <> )
Then, change the numbers until it looks right. Remember 100 pixels= about 1 inch.
if the thing you want to move doesn't have a tag you can put the above code in, surround it with a div tag to make yourself a box, like this:

<div style="position: absolute; top:300px; left:200px; width:100px; height:50px;"> my stuff goes here</div>

No comments:

Post a Comment