position: relative; /* This is crucial for the absolutely positioned element *//* This is just to show you where the container ends */
position: absolute; /* This breaks the div from the normal HTML document. */
background-color: red; /* you could use a background image if you'd like as well */
font-size: 15px; /* The following is CSS3, but isn't crucial for this technique to work. *//* Keep in mind that if a browser doesn't support CSS3, it's fine! They just won't have rounded borders and won't have a box shadow effect. *//* You can always use a background image to produce the same effect if you want to, and you can use both together so browsers without CSS3 still have the rounded/shadow look. */
Please have a look into this link.