Skip to content

Instantly share code, notes, and snippets.

@ryankinal
Created June 7, 2013 13:54
Show Gist options
  • Save ryankinal/5729415 to your computer and use it in GitHub Desktop.
Save ryankinal/5729415 to your computer and use it in GitHub Desktop.
Ah, building buttons with tables
<table id='tbl_custpage_filter' cellpadding='0' cellspacing='0' border='0' style='margin-right:6px;cursor:hand;'>
<tr id='tr_custpage_filter' class='pgBntG'>
<td id='tdleftcap_custpage_filter'>
<img src='/images/nav/ns_x.gif' class='bntLT' border='0' height='50%' width='3' />
<img src='/images/nav/ns_x.gif' class='bntLB' border='0' height='50%' width='3' />
</td>
<td id='tdbody_custpage_filter' height='20' valign='top' nowrap class='bntBgB'>
<input type='button' style='' class='rndbuttoninpt bntBgT' value='Apply Filter' id='custpage_filter' name='custpage_filter' onmousedown="this.setAttribute('_mousedown','T'); setButtonDown(true, false, this);" onmouseup="this.setAttribute('_mousedown','F'); setButtonDown(false, false, this);" onmouseout="if(this.getAttribute('_mousedown')=='T') setButtonDown(false, false, this);" onmouseover="if(this.getAttribute('_mousedown')=='T') setButtonDown(true, false, this);" >
</td>
<td id='tdrightcap_custpage_filter'>
<img src='/images/nav/ns_x.gif' height='50%' class='bntRT' border='0' width='3'> <img src='/images/nav/ns_x.gif' height='50%' class='bntRB' border='0' width='3'>
</td>
</tr>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment