Click here to Skip to main content
16,011,120 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Resizing TextArea Pin
Roger Wright5-Oct-02 7:37
professionalRoger Wright5-Oct-02 7:37 
GeneralRe: Resizing TextArea Pin
leppie5-Oct-02 7:53
leppie5-Oct-02 7:53 
GeneralRe: Resizing TextArea Pin
Roger Wright5-Oct-02 8:12
professionalRoger Wright5-Oct-02 8:12 
GeneralRe: Resizing TextArea Pin
leppie5-Oct-02 8:36
leppie5-Oct-02 8:36 
GeneralRe: Resizing TextArea Pin
leppie5-Oct-02 8:43
leppie5-Oct-02 8:43 
GeneralRe: Resizing TextArea Pin
Roger Wright5-Oct-02 10:32
professionalRoger Wright5-Oct-02 10:32 
GeneralRe: Resizing TextArea Pin
Paul Riley5-Oct-02 5:40
Paul Riley5-Oct-02 5:40 
GeneralRe: Resizing TextArea Pin
Paul Watson5-Oct-02 12:24
sitebuilderPaul Watson5-Oct-02 12:24 
leppie wrote:
I have a TextArea in a TABLE, but I want it t occupy the width of the table. How can this be done? COLS property is not handy at all!

Use CSS like so:

<table style="width:400px; height: 400px;">
    <tr>
        <td>Description</td>
        <td style="width: 200px;"><textarea id="txtDescription style="width: 100%; height: 100%"></textarea></td>
    </tr>
</table>


In that example you are "telling" the textarea element to fill it's containing elements available space by using the 100% attribute value.


CSS rocks people, use it Smile | :)



Paul Watson
Bluegrass
Cape Town, South Africa

GeneralRe: Resizing TextArea Pin
leppie5-Oct-02 13:06
leppie5-Oct-02 13:06 
GeneralRe: Resizing TextArea Pin
Roger Wright5-Oct-02 16:38
professionalRoger Wright5-Oct-02 16:38 
GeneralRe: Resizing TextArea Pin
Paul Riley6-Oct-02 0:53
Paul Riley6-Oct-02 0:53 
GeneralRe: Resizing TextArea Pin
Paul Watson6-Oct-02 21:04
sitebuilderPaul Watson6-Oct-02 21:04 
GeneralRe: Resizing TextArea Pin
Roger Wright7-Oct-02 3:29
professionalRoger Wright7-Oct-02 3:29 
GeneralNeed a suggestion! Pin
leppie5-Oct-02 2:15
leppie5-Oct-02 2:15 
GeneralRe: Need a suggestion! Pin
Paul Riley5-Oct-02 4:50
Paul Riley5-Oct-02 4:50 
GeneralRe: Need a suggestion! Pin
leppie5-Oct-02 6:53
leppie5-Oct-02 6:53 
GeneralRe: Need a suggestion! Pin
Paul Riley5-Oct-02 7:21
Paul Riley5-Oct-02 7:21 
GeneralRe: Need a suggestion! Pin
leppie5-Oct-02 8:03
leppie5-Oct-02 8:03 
GeneralRe: Need a suggestion! Pin
Paul Riley5-Oct-02 8:11
Paul Riley5-Oct-02 8:11 
GeneralRe: Need a suggestion! Pin
leppie5-Oct-02 10:25
leppie5-Oct-02 10:25 
GeneralRe: Need a suggestion! Pin
Paul Riley5-Oct-02 10:33
Paul Riley5-Oct-02 10:33 
GeneralRe: Need a suggestion! Pin
leppie5-Oct-02 11:06
leppie5-Oct-02 11:06 
GeneralRe: Need a suggestion! Pin
Paul Riley5-Oct-02 11:17
Paul Riley5-Oct-02 11:17 
GeneralRe: Need a suggestion! Pin
leppie5-Oct-02 11:43
leppie5-Oct-02 11:43 
GeneralRe: Need a suggestion! Pin
Paul Riley5-Oct-02 11:57
Paul Riley5-Oct-02 11:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.