F
Francisco Ramos
Hello all
I'm getting a very strange behaviour with my <table> html elements when
designing my aspx.
See this screenshot:
http://personales.gestion.unican.es/ramosf/strangetables.jpg
This screen is formed by several frames. The top table has 2 rows, one being
100% with (correct) and one row of four <td>, with the first three having
their width parameter fixed (to 80, 250 and 228 pixels). In Visual Studio
2005 I see it right, but when I run it locally, or publish to another server,
it shows like in the screenshot.
The same happens more or less with the height of the bottom frame
Here is the code of the top table, if it helps (only the design part, and
i've removed some javascripts)
Thanks a lot in advance
Francisco Ramos
<html>
<!--
Estilos aplicados
-->
<head>
<meta http-equiv="Content-Language" content="es">
<title>cabecera</title>
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0"
marginwidth="0" marginheight="0" style="text-align: center">
<table width="100%" id="table1" bgcolor="#195963" height="125">
<tr height="37">
<td height="37" colspan="4" bgcolor="#F2A910">
<p align="center">
<img border="0" src="images/cabecera.png" width="600" height="35"></td>
</tr>
<tr height="80px">
<td height="80" width="80" style="height: 80px">
<img border="0" name="imguc" src="images/logoweb.jpg" width="78"
height="78"></td>
<td height="80" width="250" align="center"><div align="center">
<table border="1" width="97%" id="table2" cellspacing="1" cellpadding="0"
height="76" bordercolor="#FFFFFF" style="border-collapse: collapse">
<tr>
<td>
<a href="#"
onclick="parent.frames['contenidos'].location.href='planes.aspx'"
class="cabecera" id="id1" onmouseout="imguc.src='images/logoweb.jpg'"
onmouseover="imguc.src='images/libro.gif'">CURSOS
</a>
</td>
<td bgcolor="#195963" align="center"><b>
<a href="#"
onclick="parent.frames['contenidos'].location.href='paginas/presentacion.aspx'"
class="cabecera" id="id2" onmouseout="imguc.src='images/logoweb.jpg'"
onmouseover="imguc.src='images/presen.gif'">PRESENTACION</a></b></td>
</tr>
<tr>
<td><b>
<a href="#"
onclick="parent.frames['contenidos'].location.href='paginas/ayuda.aspx'"
class="cabecera" id="id3" onmouseout="imguc.src='images/logoweb.jpg'"
onmouseover="imguc.src='images/ayuda.gif'">AYUDA</a></b></td>
<td width="50%"><b>
<a href="http://www.cefont.unican.es" target="_top" class="cabecera"
id="id4" onmouseout="imguc.src='images/logoweb.jpg'"
onmouseover="imguc.src='images/cefont_blancoverde.gif'">CeFoNT</a></b></td>
</tr>
<tr>
<td>
<a href="#"
onclick="parent.frames['contenidos'].location.href='paginas/enlaces.aspx'"
class="cabecera" id="id5" onmouseout="imguc.src='images/logoweb.jpg'"
onmouseover="imguc.src='images/enlaces.gif'">ENLACES</a></td>
<td>
<a href="#"
onclick="parent.frames['contenidos'].location.href='paginas/contacto.aspx'"
class="cabecera" id="id6" onmouseout="imguc.src='images/logoweb.jpg'"
onmouseover="imguc.src='images/contacto.gif'">CONTACTO</a></td>
</tr>
</table></div>
</td>
<td height="80" width="228" align=center>
<iframe src="signon/mini.aspx" scrolling="no" width="222" frameborder="0"
height="75" />
</td>
<td height="80" align="center" valign="middle">
<div align="center">
<p align="center"><b><font face="Verdana" size="2">ESPACIO RESERVADO PARA
NOTICIAS </font></b>
</div>
</td>
</tr>
</table>
</body>
I'm getting a very strange behaviour with my <table> html elements when
designing my aspx.
See this screenshot:
http://personales.gestion.unican.es/ramosf/strangetables.jpg
This screen is formed by several frames. The top table has 2 rows, one being
100% with (correct) and one row of four <td>, with the first three having
their width parameter fixed (to 80, 250 and 228 pixels). In Visual Studio
2005 I see it right, but when I run it locally, or publish to another server,
it shows like in the screenshot.
The same happens more or less with the height of the bottom frame
Here is the code of the top table, if it helps (only the design part, and
i've removed some javascripts)
Thanks a lot in advance
Francisco Ramos
<html>
<!--
Estilos aplicados
-->
<head>
<meta http-equiv="Content-Language" content="es">
<title>cabecera</title>
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0"
marginwidth="0" marginheight="0" style="text-align: center">
<table width="100%" id="table1" bgcolor="#195963" height="125">
<tr height="37">
<td height="37" colspan="4" bgcolor="#F2A910">
<p align="center">
<img border="0" src="images/cabecera.png" width="600" height="35"></td>
</tr>
<tr height="80px">
<td height="80" width="80" style="height: 80px">
<img border="0" name="imguc" src="images/logoweb.jpg" width="78"
height="78"></td>
<td height="80" width="250" align="center"><div align="center">
<table border="1" width="97%" id="table2" cellspacing="1" cellpadding="0"
height="76" bordercolor="#FFFFFF" style="border-collapse: collapse">
<tr>
<td>
<a href="#"
onclick="parent.frames['contenidos'].location.href='planes.aspx'"
class="cabecera" id="id1" onmouseout="imguc.src='images/logoweb.jpg'"
onmouseover="imguc.src='images/libro.gif'">CURSOS
</a>
</td>
<td bgcolor="#195963" align="center"><b>
<a href="#"
onclick="parent.frames['contenidos'].location.href='paginas/presentacion.aspx'"
class="cabecera" id="id2" onmouseout="imguc.src='images/logoweb.jpg'"
onmouseover="imguc.src='images/presen.gif'">PRESENTACION</a></b></td>
</tr>
<tr>
<td><b>
<a href="#"
onclick="parent.frames['contenidos'].location.href='paginas/ayuda.aspx'"
class="cabecera" id="id3" onmouseout="imguc.src='images/logoweb.jpg'"
onmouseover="imguc.src='images/ayuda.gif'">AYUDA</a></b></td>
<td width="50%"><b>
<a href="http://www.cefont.unican.es" target="_top" class="cabecera"
id="id4" onmouseout="imguc.src='images/logoweb.jpg'"
onmouseover="imguc.src='images/cefont_blancoverde.gif'">CeFoNT</a></b></td>
</tr>
<tr>
<td>
<a href="#"
onclick="parent.frames['contenidos'].location.href='paginas/enlaces.aspx'"
class="cabecera" id="id5" onmouseout="imguc.src='images/logoweb.jpg'"
onmouseover="imguc.src='images/enlaces.gif'">ENLACES</a></td>
<td>
<a href="#"
onclick="parent.frames['contenidos'].location.href='paginas/contacto.aspx'"
class="cabecera" id="id6" onmouseout="imguc.src='images/logoweb.jpg'"
onmouseover="imguc.src='images/contacto.gif'">CONTACTO</a></td>
</tr>
</table></div>
</td>
<td height="80" width="228" align=center>
<iframe src="signon/mini.aspx" scrolling="no" width="222" frameborder="0"
height="75" />
</td>
<td height="80" align="center" valign="middle">
<div align="center">
<p align="center"><b><font face="Verdana" size="2">ESPACIO RESERVADO PARA
NOTICIAS </font></b>
</div>
</td>
</tr>
</table>
</body>