| Author |
Struts TextArea
|
Meenatchi Sundar
Greenhorn
Joined: Jan 31, 2011
Posts: 12
|
|
Hi,
I have an problem with the TextArea.The issue is that my text area doesnt have vertical scroll bar when i give long piece of text.My senior instructed me to use rows and cols for it.i have given <td><s:textarea name="cli.comments" cols="50" rows="10"/></td>..It is coming vertically downwards.But width should be accoding to the dropdown above and height should be of 40 px long..so again i given like this:
<td><s:textarea name="cli.comments" cssStyle="{width:200px;height:60px;border: 1px solid #cccccc}" cols="100" rows="5"/></td>.
They are saying that cssStyle overites the rows and cols mentioned.So its wrong...But i need to apply with rows and columns with the corresponding width:200px and height:60px...can anyone solve it?And also i need an explanation of rows and cols of textarea?
Thanks,
Sundar.R
|
 |
 |
|
|
subject: Struts TextArea
|
|
|