Wednesday, February 03, 2010

abolute position within div - a one liner

If you want to use absolute positioning within a div, you just have to set the parent div to relative.

You should put this in the head between the sytle tags:
(click in the box to highlight the code for copy)

This should go between the body tags:
(click in the box to highlight the code for copy)

No comments:

Post a comment

Dear legitimate commenters, please post your comments below. I'd be happy to receive your feedback; helps me a lot improving, or getting reassurance that I'm doing something really great here.

IMPORTANT! A note to commenters planning on advertising their business in comments: please be informed that I'm NOT going to post your comments but will ALWAYS mark them as SPAM.