convertir tabla div
El tercer piso está a la derecha.
El método específico es:
lt;div style="background: #CCCCCC;"gt;
lt;table id="bltable" border="1" cellpadding="0 "cellspacing="0" class="tableBorderedColumns"gt;
lt;trgt;
lt;th width="5" class="cellBordered" style="espacio en blanco : nowrap;" name="no"gt;Numberlt;/thgt;
lt;th width="10" class="cellBordered" style="white-space: nowrap;" name="tp " EditType="DropDownList" DataItems="{texto: 'IP', valor: '1'}, {texto: 'MAC', valor: '2'}"gt;Typelt;/thgt;
lt;th width="20" class="cellBordered" style="white-space:nowrap;" name="st" EditType="TextBox" InputSize="19"gt;IP/MAClt;/thgt; p >
lt;th width="15" class="cellBordered" style="white-space: nowrap;" name="zo" EditType="DropDownList" DataItems="{text: 'Cualquiera', valor: ' 1'}, {texto: 'zona1', valor: '2'}, {texto: 'zona3', valor: '3'}, {texto: 'zona4', valor: '4'}"gt; Zonelt ; /thgt;
lt;th width="10" class="cellBordered" style="white-space:nowrap;" name="va" EditType="TextBox" InputSize="9"gt ; Validez(s)lt;/thgt;
lt;th width="10" class="cellBordered" style="white-space:nowrap;" gt;Paquetes descartados(pkts)lt;/ thgt ;
lt;th width="10" class="cellBordered" style="white-space:nowrap;" gt;Bytes eliminados(bits)lt;/thgt;
lt;th width="10" class="cellBordered" style="white-space:nowrap;" align="left"gt;lt;input type="checkbox" onClick="delSelectAlldel()" nombre="del_check "identificación="
del_check"/gt;Deletelt;/thgt;
lt;/trgt;
lt;tr class="light"gt;
lt;td clase ="cellInputBordered" align="left" gt;lt;a id="a11" href="#" onclick="EditRow(this)"gt;1lt;/agt;lt;/tdgt;
lt;td class="cellInputBordered" align="left" onclick="test()"gt;IPlt;/tdgt;
lt;td class="cellInputBordered" align="left" onclick= "test()"gt;192.165.178.0/24lt;/tdgt;
lt;td class="cellInputBordered" align="left" onclick="test()"gt;/tdgt;
lt;td class="cellInputBordered" align="left" onclick="test()"gt;30lt;/tdgt;
lt;td class="cellInputBordered" align ="left" onclick="test()"gt;214lt;/tdgt;
lt;td class="cellInputBordered" align="left" onclick="test()"gt;4562lt;/ tdgt;
lt;td class="cellInputBordered" gt;lt;input type="checkbox" name="cdel_check" id="cdel_check" value="0" onClick="SelectAllBoxdel()"gt ;lt;/tdgt;
lt;/trgt;
lt;/tablegt;
lt;/divgt;
Obligatorio Un punto a tener en cuenta: este color de fondo es exactamente del tamaño del div y se reducirá automáticamente con el tamaño de su tabla.
Si desea eliminar el color, simplemente elimine el estilo="fondo: #CCCCCC;" en la primera línea