Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts TextArea

 
Meenatchi Sundar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic