SubhiMMM SubhiMMM - 2 years ago 84
CSS Question

text area width and height doesn't change in table cell

I have this script and tried to change the width and height of the text area but there is no change when I run the code .

This is my code :

<td style="width:200; height:400" width="200">
<textarea name="teamnews_text" size="300" cols="32" class="form-control">
<?php echo htmlentities($row_all_players['playerNews_text'], ENT_COMPAT, 'utf-8'); ?>

Answer Source

in Textarea use rows (not size) and cols as attributes or width and height as style.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download