Hi TW-Community,
I read here that I can use a CSS Attribute with $select.
But if I use it is there no change in the width.
I tried:
<$select field=<<field>> default=<<field>> style='width: 300px;' >
<$select field=<<field>> default=<<field>> style='width: 100%;' >
<$select field=<<field>> default=<<field>> style="width: 300px;" >
<$select field=<<field>> default=<<field>> style="width: 100%;" >
Any help to solve this issue is welcome
Stefan
Here the complete code if relevant to solve my problem:
\whitespace trim
\procedure edit_fields(selector, fields)
<$let
fields={{{ [<fields>!match[]] ~[[info/db-tables]get<selector>] }}}
config=<<currentTiddler>>
>
Please enter the data for the <<selector>> : {{!!caption}}.<br>
The origin name of this Data set is: <<config>>.<br>
If you want to clone this <<selector>> <$transclude $variable="clone-entry" selector=<<selector>> sep="/" /><br>
<table style="width: 80%;">
<$list filter="[enlist<fields>]" variable="field">
<tr>
<th style="width: 20%;"><<field>></th>
<td style="width: 30%;">
<$select field=<<field>> default=<<field>> style='width: 300px;' >
<option value="">(any)</option>
<$list filter="[tag<selector>sort[caption]get<field>] [tag<field>get[caption]sort[]]+[unique[]]" variable="value">
<option><<value>></option>
</$list>
</$select>
</td>
<td style="width: 35%;">
<$edit-text tiddler=<<field_of_field>> field=<<field>>/>
</td>
<td style="width: 15%;">
<$list filter="[tag<field>count[]]" variable="c_of_field">
<%if [<c_of_field>compare:number:gt[0]] %>
<$transclude $variable="new-entry" selector=<<field>> sep="/" />
<% endif %>
</$list>
</td>
</tr>
</$list>
</table>
<hr>
</$let>
\end