Foros del Web » Creando para Internet » Diseño web »

web desconfigurada

Estas en el tema de web desconfigurada en el foro de Diseño web en Foros del Web. Hola, estoy haciendo una web y al insertar un script php dentro de ella se me desconfigura totalmente. Dejo el codigo: Código: <html> <head> <title>luisflores</title> ...
  #1 (permalink)  
Antiguo 14/09/2009, 11:23
 
Fecha de Ingreso: febrero-2006
Mensajes: 124
Antigüedad: 18 años, 1 mes
Puntos: 0
web desconfigurada

Hola, estoy haciendo una web y al insertar un script php dentro de ella se me desconfigura totalmente. Dejo el codigo:
Código:
<html>
<head>
<title>luisflores</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (luisflores.psd) -->
<table width="961" height="901" border="0" align="center" cellpadding="0" cellspacing="0" id="Tabla_01">
	<tr>
		<td colspan="7">
			<img src="imagenes/luisflores_01.png" width="945" height="7" alt=""></td>
		<td rowspan="3">
			<img src="imagenes/luisflores_02.png" width="15" height="149" alt=""></td>
		<td>
			<img src="imagenes/espacio.gif" width="1" height="7" alt=""></td>
	</tr>
	<tr>
		<td colspan="5" rowspan="2">
		  <img src="imagenes/luisflores_03.png" width="196" height="142" alt=""></td>
		<td colspan="2">
			<img src="imagenes/logo.png" width="749" height="127" alt=""></td>
		<td>
			<img src="imagenes/espacio.gif" width="1" height="127" alt=""></td>
	</tr>
	<tr>
		<td colspan="2">
			<img src="imagenes/luisflores_05.png" width="749" height="15" alt=""></td>
		<td>
			<img src="imagenes/espacio.gif" width="1" height="15" alt=""></td>
	</tr>
	<tr>
		<td colspan="4">
			<img src="imagenes/luisflores_06.png" width="188" height="10" alt=""></td>
		<td colspan="2">
			<img src="imagenes/luisflores_07.png" width="20" height="10" alt=""></td>
		<td rowspan="6"><?php 
		require_once("clayres/index.php");
		?></td>
		<td>
			<img src="imagenes/luisflores_09.png" width="15" height="10" alt=""></td>
		<td>
			<img src="imagenes/espacio.gif" width="1" height="10" alt=""></td>
	</tr>
	<tr>
		<td colspan="2">
			<img src="imagenes/luisflores_10.png" width="16" height="18" alt=""></td>
		<td rowspan="3" valign="top"><table width="145" border="0" align="center">
		  <tr>
		    <td width="139">MENU</td>
	      </tr>
		  <tr>
		    <td>
		      <li>Inicio</li>
	        </td>
	      </tr>
		  <tr>
		    <td>
		      <li>Noticias</li>
	        </td>
	      </tr>
		  <tr>
		    <td>
		      <li>
		        Clasificaci&oacute;n y Resultados
		      </li>
	        </td>
	      </tr>
		  <tr>
		    <td>
		      <li>Equipos </li>
	        </td>
	      </tr>
		  <tr>
		    <td>
		      <li>Administraci&oacute;n</li>
	       </td>
	      </tr>
	    </table></td>
		<td colspan="3" rowspan="6">
			<img src="imagenes/luisflores_12.png" width="39" height="741" alt=""></td>
		<td rowspan="5">
			<img src="imagenes/luisflores_13.png" width="15" height="724" alt=""></td>
		<td>
			<img src="imagenes/espacio.gif" width="1" height="18" alt=""></td>
	</tr>
	<tr>
		<td>
			<img src="imagenes/luisflores_14.png" width="15" height="12" alt=""></td>
		<td rowspan="4">
			<img src="imagenes/luisflores_15.png" width="1" height="706" alt=""></td>
		<td>
			<img src="imagenes/espacio.gif" width="1" height="12" alt=""></td>
	</tr>
	<tr>
		<td rowspan="3">
			<img src="imagenes/luisflores_16.png" width="15" height="694" alt=""></td>
		<td>
			<img src="imagenes/espacio.gif" width="1" height="169" alt=""></td>
	</tr>
	<tr>
		<td>
			<img src="imagenes/luisflores_17.png" width="153" height="19" alt=""></td>
		<td>
			<img src="imagenes/espacio.gif" width="1" height="19" alt=""></td>
	</tr>
	<tr>
		<td>
			<img src="imagenes/luisflores_18.png" width="153" height="506" alt=""></td>
		<td>
			<img src="imagenes/espacio.gif" width="1" height="506" alt=""></td>
	</tr>
	<tr>
		<td colspan="2">
			<img src="imagenes/luisflores_19.png" width="16" height="17" alt=""></td>
		<td>
			<img src="imagenes/luisflores_20.png" width="153" height="17" alt=""></td>
		<td>
			<img src="imagenes/luisflores_21.png" width="737" height="17" alt=""></td>
		<td>
			<img src="imagenes/luisflores_22.png" width="15" height="17" alt=""></td>
		<td>
			<img src="imagenes/espacio.gif" width="1" height="17" alt=""></td>
	</tr>
	<tr>
		<td>
			<img src="imagenes/espacio.gif" width="15" height="1" alt=""></td>
		<td>
			<img src="imagenes/espacio.gif" width="1" height="1" alt=""></td>
		<td>
			<img src="imagenes/espacio.gif" width="153" height="1" alt=""></td>
		<td>
			<img src="imagenes/espacio.gif" width="19" height="1" alt=""></td>
		<td>
			<img src="imagenes/espacio.gif" width="8" height="1" alt=""></td>
		<td>
			<img src="imagenes/espacio.gif" width="12" height="1" alt=""></td>
		<td>
			<img src="imagenes/espacio.gif" width="737" height="1" alt=""></td>
		<td>
			<img src="imagenes/espacio.gif" width="15" height="1" alt=""></td>
		<td></td>
	</tr>
</table>
<!-- End ImageReady Slices -->
</body>
</html>
Alguna ayuda please.
  #2 (permalink)  
Antiguo 14/09/2009, 12:13
Avatar de mayid
Colaborador
 
Fecha de Ingreso: marzo-2009
Ubicación: BsAs
Mensajes: 4.014
Antigüedad: 15 años
Puntos: 101
Respuesta: web desconfigurada

Sería bueno que publiques el nombre de tu archivo. Es de extension PHP? o html?

Dicho al paso:
- No veo que tengas DOCTYPE.
- me gustaría ver de que script se trata.
  #3 (permalink)  
Antiguo 14/09/2009, 12:18
 
Fecha de Ingreso: febrero-2006
Mensajes: 124
Antigüedad: 18 años, 1 mes
Puntos: 0
Respuesta: web desconfigurada

Hola, es documento lo tengo guardado en php.

El script es uno que hay de clasificaciones y resultados para un torneo de futbol
tplleaguestats

el Doctype es HTML 4.01 Transitional

aqui te muestro como queda http://torneoluisflores.zobyhost.com...ficaciones.php

Última edición por tuchy; 14/09/2009 a las 12:49
  #4 (permalink)  
Antiguo 14/09/2009, 13:26
 
Fecha de Ingreso: mayo-2008
Mensajes: 489
Antigüedad: 15 años, 10 meses
Puntos: 8
Respuesta: web desconfigurada

debes revisar bien tu código, parece que trataras de hacer dos páginas dentro de una, repites el head, el body, dejas etiquetas abiertas, no especificas el <!DOCTYPE, hay etiquetas donde no deben ir ....
Revisa bien que es lo que quieres hacer.

Suerte
  #5 (permalink)  
Antiguo 14/09/2009, 13:36
 
Fecha de Ingreso: febrero-2006
Mensajes: 124
Antigüedad: 18 años, 1 mes
Puntos: 0
Respuesta: web desconfigurada

Como que repito el head y el body? solo se me desconfigura cuando pongo esta linea:
<?php require_once("clayres/index.php");?>
  #6 (permalink)  
Antiguo 14/09/2009, 13:42
 
Fecha de Ingreso: mayo-2008
Mensajes: 489
Antigüedad: 15 años, 10 meses
Puntos: 8
Respuesta: web desconfigurada

eso debe ser el problema entonces, posiblemente tienes las etiquetas head y body en ambos archivos, lee tu código html generado al publicar tu web.
  #7 (permalink)  
Antiguo 14/09/2009, 13:50
 
Fecha de Ingreso: febrero-2006
Mensajes: 124
Antigüedad: 18 años, 1 mes
Puntos: 0
Respuesta: web desconfigurada

ok, muchas gracias.
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 13:57.