exact position in a div tag

Maybe you ever wonder how to put a content like text or picture with exact position in a html page. Now i will explain it shortly.

I don’t understand css too much, so i will explain how tu put content in an exact position by modifying inline div tag.

Here is an example:

<div style=”top: 50px; left: 60px;”>

<!– content goes here –>

</div>

It will put your content 50pixels from top of the page, and 60pixels from left of the html page.

well, thats it.. :)

Andi Setiawan

Loving husband - Caring Father - Slap bet Commissionaire (I wish) find my complete profile on: http://andisetiawan.com/about-me http://facebook.com/andiim3 - http://gplus.to/andiim3 - http://andiim3.com

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.