Skip to content Skip to sidebar Skip to footer

How To Align Button To Textarea Corner And Keep It In Same Relative Position While Expand Contract

I have a textarea and I want a couple of buttons to always be below the textarea and aligned with the text area's bottom right corner. The closest I got is shown in this fiddle htt

Solution 1:

Try removing the container's strict width, you can set a min-width instead and if you make it display: inline-block or float: left you can make sure it doesn't span the entire width of its parent.

http://jsfiddle.net/2uwDT/2/

.descriptionarea {
    min-width: 490px;
    position: relative;
    display: inline-block;
}

Post a Comment for "How To Align Button To Textarea Corner And Keep It In Same Relative Position While Expand Contract"