How to wrap a text in label?
When the description is too long it should wrap to the next line.
<input type="label" id="{$descTxtName}" class="tdItems" name="{$descTxtName}" readOnly="true" size="36" STYLE=" background: #CCCCZA; border: 2px;word-break:break-all;" maxlength="45" value="{$tempCdscParam}" />There is no type "label" for the input element. Valid values are:
text | password | checkbox | radio | submit | reset | file | hidden | image | button
There is a <label> element which will wrap if it is "display: block" and has a fixed width, or is otherwise constrained to a limited width by its containing element.
When the description is too long it should wrap to the next line.
<input type="label" id="{$descTxtName}" class="tdItems" name="{$descTxtName}" readOnly="true" size="36" STYLE=" background: #CCCCZA; border: 2px;word-break:break-all;" maxlength="45" value="{$tempCdscParam}" />There is no type "label" for the input element. Valid values are:
text | password | checkbox | radio | submit | reset | file | hidden | image | button
There is a <label> element which will wrap if it is "display: block" and has a fixed width, or is otherwise constrained to a limited width by its containing element.