Positioning of blocks

To position 'newblock' 200px from left and 50px from top, do this

#container
{
position: relative;
}

#newblock
{
position: absolute;
left: 200px;
top: 50px
}

<div id="container"><div id="newblock">...</div></div>

Comments

Popular posts from this blog

How to select and cut out an image in Krita

Transform and Stretch an image in Krita

Joomla error: Your site may not have been upgraded completely