Using relative positioning with CSS

awaisuk

New Member
I have a div with which I display basic user information. The 'search-person' div has a height of 'auto'. This is so that profile pictures can be dynamic in size, up to 170px tall. Now, I would like to have a button displayed over the profile picture, and I thought to add relative positioning to the contents in the div and move it up and under the button, button it doesn't seem to want to work right. What can I do wrong?here is my problem:http://jsfiddle.net/C9Zj5/\[code\]#wrap { position: relative height: auto; width: auto;}\[/code\]
 
Back
Top