Position text over textarea
css, html
Solution
Working jsfiddle code jsfiddle
div#textarea-container {
position: relative;
float: left;
}
div#copy {
position: absolute;
right: 5px;
top: 0;
}
Problem
I would like to add a div/text to the top right corner of my textarea. HTML ``` <div id="textarea-container"> <textarea></textarea> <div id="copy">copy</div> </div> ``` CSS ``` div#textarea-container { position: absolute; } div#copy { position: relative; right: 0; } ``` What adjustments need to be made? jsFiddle: http://jsfiddle.net/zrpgK/