How do I position something so that it doesn't affect other content?
I have a div, and inside I want to put an 'edit' button at the top, but I don't want the placement of that edit button to effect anything else.
I've got something like this:
My CSS is:Code:<div> <a class="dontMove">Edit</a> Other things, like text Like pictures These should not move! </div>
What am I doing wrong?Code:a.dontMove, a.dontMove:link, a.dontMove:visited { position: relative; z-index: 2; left: 2px; top: 2px; } a.dontMove:hover, a.dontMove:active { position: relative; z-index: 2; left: 2px; top: 2px; }
Thanks.
OM


Reply With Quote
Bookmarks