Ver Mensaje Individual
  #5 (permalink)  
Antiguo 13/09/2004, 07:03
davana
 
Fecha de Ingreso: septiembre-2004
Mensajes: 3
Antigüedad: 19 años, 7 meses
Puntos: 0
Sonrisa probe con style="table-layout:fixed"

Podrias probar mi solucion, que te permite tambien recibir un SCROLLBAR cuando la parte central de la tabla lo necesite.
La table se presenta la misma en varias formatas de ventanas (1024*768, 800*600, ...), los botones siempre estan abajo.

Mi tabla:
Código:
<table cellpadding="0" cellspacing="0" width="100%" height="98%">
	<tr height="35px">
		<td>
			<div>Message Management</div>
			<div><hr style="color: ##00CC00;height:1px"></div>
		</td>
	</tr>
	<tr height="*">
		<td>
			<table width="100%" height="100%" style="table-layout:fixed" cellspacing="2" cellpadding="0">
				<tr height="20px">
					<td width="*"><b>Title</b>
						&nbsp&nbsp&nbsp<input type="button" class="lbutton" id="btnsorta" onclick="sortObjects('label','ASC');" value="A-Z" onmouseover="this.style.cursor='hand'" onmouseout="this.style.cursor=''">
						&nbsp<input type="button" class="lbutton" id="btnsortd" onclick="sortObjects('label','DESC');" value="Z-A" onmouseover="this.style.cursor='hand'" onmouseout="this.style.cursor=''">
					</td>
					<td width="120px"><b>Publ. Date</b></td>
					<td width="120px"><b>Arch. Date</b></td>
					<td width="100px"><b>Manager</b></td>
					<td width="62px"><b>Preview</b></td>
				</tr>
				<tr>
					<td height="*" colspan="5">
						<div style="width:100%;height:100%;overflow:auto">
							<a href="javascript: expand();">Click here to have a lot of text</a>
							<div id="t1" style="display: none;">
								<br>text<br>text<br>text<br>text<br>text<br>text<br>text<br>text<br>text<br>text<br>text<br>text<br>text<br>text<br>text<br>text<br>text<br>text<br>text<br>text<br>text<br>text<br>text<br>text<br>text<br>text<br>text<br>text<br>text<br>text<br>text
							</div>
						</div>
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr height="30px">
		<td align="right">
			<input type="button" name="createdoc" id="createdoc" value="New">
			&nbsp;
			<input type="button" value="Edit" onClick="editdoc()">
			&nbsp;
			<input type="button" value="Delete" onClick="deldoc()">
			&nbsp;
		</td>
	</tr>
</table>

<script>
function expand() {
		document.all.t1.style.display = "block";
}
</script>
Espero que puedo ayudarte.
Perdone mi espanol mediocro.

Saludos

Última edición por tunait; 29/09/2004 a las 08:15