x4444
20 Oct 2009, 9:27 AM
The easiest solution?
of course the code below make no effect on button text, so how to set style to underneath html <button>?
button.setStyleAttribute("fontWeight", "bold");
<table id="x-auto-2" class="x-btn-wrap x-btn" cellspacing="0"
cellpadding="0" border="0" style="font-weight: bold; width: auto;">
<tbody>
<tr>
<td class="x-btn-left"><i> </i></td>
<td class="x-btn-center"><em unselectable="on">
<button class="x-btn-text" type="button" tabindex="0">Search</button>
</em>
</td>
<td class="x-btn-right"></td>
</tr>
</tbody>
</table>
of course the code below make no effect on button text, so how to set style to underneath html <button>?
button.setStyleAttribute("fontWeight", "bold");
<table id="x-auto-2" class="x-btn-wrap x-btn" cellspacing="0"
cellpadding="0" border="0" style="font-weight: bold; width: auto;">
<tbody>
<tr>
<td class="x-btn-left"><i> </i></td>
<td class="x-btn-center"><em unselectable="on">
<button class="x-btn-text" type="button" tabindex="0">Search</button>
</em>
</td>
<td class="x-btn-right"></td>
</tr>
</tbody>
</table>