MULTIMEDIA, Video digital, Grabación, Diseño gráfico, Diseño web, Programación > Webmasters - Diseño Web - Programación - Diseño gráfico
Enlaces en una galeria copermine.
algeck:
--- Citar ---</head>
<body>
<div id="Menu1" style="position:absolute; width:780px; height:30px; z-index:1; left: 22px; top: 47px; visibility: hidden;">
<span class="topmenu">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
{MAIN_MENU1}
</td>
</tr>
</table>
</span>
</div>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="top_panel">
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="49%" background="../themes/eyeball/images/top_background_r1_c1.gif"></td>
<td width="2%"><table border="0" cellpadding="0" cellspacing="0" wisth="100%">
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><img name="top_background_r1_c2" src="../themes/eyeball/images/top_background_r1_c2.gif" width="135" height="17" border="0" id="top_background_r1_c2" alt="" /></td>
<td width="100%" background="../themes/eyeball/images/top_background_r1_c4.gif"></td>
<td><img name="top_background_r1_c5" src="../themes/eyeball/images/top_background_r1_c5.gif" width="135" height="17" border="0" id="top_background_r1_c5" alt="" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><img name="top_background_r2_c2" src="../themes/eyeball/images/top_background_r2_c2.gif" width="55" height="25" border="0" id="top_background_r2_c2" alt="" /></td>
<td align="center">{MAIN_MENU2}</td>
<td><img name="top_background_r2_c6" src="../themes/eyeball/images/top_background_r2_c6.gif" width="55" height="25" border="0" id="top_background_r2_c6" alt="" /></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="49%" background="../themes/eyeball/images/top_background_r1_c7.gif"></td>
</tr>
</table></td>
</tr>
</table>
<a href="http://www.dlozano.tk/" target="_self">Inicio</a>
</body>
</html>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="20">
<tr>
<td align="center" valign="top">
{ADMIN_MENU}
{LANGUAGE_SELECT_FLAGS}
{GALLERY}
</td>
</tr>
<tr>
<td align="center" valign="top">{THEME_SELECT_LIST} {LANGUAGE_SELECT_LIST}</td>
</tr>
</table>
</body>
</html>
--- Fin de la cita ---
Que estoy haciendo mal?? :ciego:
ladyblues:
bueno... me pregunto... a golpe de vista, luego lo miro con más calma qué hace después de esto:
--- Código: ---</body>
</html>
--- Fin del código ---
¿Todo esto?
--- Código: ---<table width="100%" border="0" align="center" cellpadding="0" cellspacing="20">
<tr>
<td align="center" valign="top">
{ADMIN_MENU}
{LANGUAGE_SELECT_FLAGS}
{GALLERY}
</td>
</tr>
<tr>
<td align="center" valign="top">{THEME_SELECT_LIST} {LANGUAGE_SELECT_LIST}</td>
</tr>
</table>
</body>
</html>
--- Fin del código ---
Has cerrado las etiquetas body y html y luego has vuelto a cerrarlas con una tabla en medio.
Pero vamos, ahora porque tengo una movida aquí montada del carajo, pero vete mirando eso y luego ya lo miro con más detenimiento ;-)
Mabel
ladyblues:
Y tampoco veo la etiqueta inicial de apertura de <html> Antes del primer body. Vete mirando eso peque.
Un abrazo!
Mabel
algeck:
Como comprenderas el codigo no es mio. Es la page template tal cual, yo solo he añadido el enlaze. Yo tambien me fije en lo que dices, pero como no tengo ni pajotera idea :destroyer:. La etiqueta html la he suprimido yo. ahora pongo el codigo completo.
ladyblues:
Veamos, si quieres solución rápida usa lo que te mando, pero si no... échale un vistazo y ve probando tú a hacerlo poco a poco. Te recomiendo que busques información sobre html y que te leas manuales y tutoriales (o libros, excelente recomendación de Ghepetto) sobre el tema del html. A no ser que no te interese en absoluto y sea un tema puntual. Pero si quieres personalizar un poco tu galería u otras webs que tengas te vendrá bien. Sin el html lo tienes crudo. Para mí es básico.
Aquí empiezan las etiquetas estándar del html. html, head y tittle. Observa la diferencia de esta parte con la que tú mandaste. Compara.
--- Código: ---<html>
<head>
<title>Galeri´a de David</title>
</head>
--- Fin del código ---
Aquí está el cuerpo del template de tu galería, aquí yo no he tocado nada por supuesto, hasta el siguiente párrafo que marco.
--- Código: ---<body>
<div id="Menu1" style="position:absolute; width:780px; height:30px; z-index:1; left: 22px; top: 47px; visibility: hidden;">
<span class="topmenu">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
{MAIN_MENU1}
</td>
</tr>
</table>
</span>
</div>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="top_panel">
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="49%" background="../themes/eyeball/images/top_background_r1_c1.gif"></td>
<td width="2%"><table border="0" cellpadding="0" cellspacing="0" wisth="100%">
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><img name="top_background_r1_c2" src="../themes/eyeball/images/top_background_r1_c2.gif" width="135" height="17" border="0" id="top_background_r1_c2" alt="" /></td>
<td width="100%" background="../themes/eyeball/images/top_background_r1_c4.gif"></td>
<td><img name="top_background_r1_c5" src="../themes/eyeball/images/top_background_r1_c5.gif" width="135" height="17" border="0" id="top_background_r1_c5" alt="" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><img name="top_background_r2_c2" src="../themes/eyeball/images/top_background_r2_c2.gif" width="55" height="25" border="0" id="top_background_r2_c2" alt="" /></td>
<td align="center">{MAIN_MENU2}</td>
<td><img name="top_background_r2_c6" src="../themes/eyeball/images/top_background_r2_c6.gif" width="55" height="25" border="0" id="top_background_r2_c6" alt="" /></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="49%" background="../themes/eyeball/images/top_background_r1_c7.gif"></td>
</tr>
</table></td>
</tr>
</table>
--- Fin del código ---
Ahí ha terminado una tabla de tu theme (del template) y ahora yo meto aquí una tabla nueva para organizar tus enlaces. ¿Por qué en una tabla? Porque me ha molado la movida, aunque puedes hacerlo sin tablas, pero a mi me gusta más así. Tengo el defecto de trabajar mucho con tablas. Las cosas como son.
--- Código: ---<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><div align="center"><a href="http://www.dlozano.tk/" target="_self">Inicio</a></div></td>
<td><div align="center"><a href="http://www.dlozano.tk/" target="_self">Enlace 2</a> </div></td>
<td><div align="center"><a href="http://www.dlozano.tk/" target="_self">Enlace3</a></div></td>
<td><div align="center"><a href="http://www.dlozano.tk/" target="_self">Enlace 4 </a></div></td>
<td><div align="center"><a href="http://www.dlozano.tk/" target="_self">Enlace 5 </a></div></td>
</tr>
</table>
--- Fin del código ---
Y aquí sigue la movida de tu galería, es código que yo no he tocado. Tal cual está en lo que subiste.
--- Código: ---<table width="100%" border="0" align="center" cellpadding="0" cellspacing="20">
<tr>
<td align="center" valign="top">
{ADMIN_MENU}
{LANGUAGE_SELECT_FLAGS}
{GALLERY}
</td>
</tr>
<tr>
<td align="center" valign="top">{THEME_SELECT_LIST} {LANGUAGE_SELECT_LIST}</td>
</tr>
</table>
--- Fin del código ---
Y ahora se cierran las etiquetas body y html. Todo tiene un orden y se cierran al final del código SIEMPRE, no se puede cerrar dos veces una misma etiqueta:
--- Código: ---</body>
</html>
--- Fin del código ---
___________________________________________________________________________
Ahora te explico el código anterior, el de los enlaces que te metí en una tabla ¿de acuerdo?
Bien teníamos lo siguiente:
--- Código: ---<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><div align="center"><a href="http://www.dlozano.tk/" target="_self">Inicio</a></div></td>
<td><div align="center"><a href="http://www.dlozano.tk/" target="_self">Enlace 2</a> </div></td>
<td><div align="center"><a href="http://www.dlozano.tk/" target="_self">Enlace3</a></div></td>
<td><div align="center"><a href="http://www.dlozano.tk/" target="_self">Enlace 4 </a></div></td>
<td><div align="center"><a href="http://www.dlozano.tk/" target="_self">Enlace 5 </a></div></td>
</tr>
</table>
--- Fin del código ---
El primer enlace es el que tú pusiste. Y los restantes son supuestos enlaces que yo he puesto para que veas un poco como va. Los dirigidos a la misma ruta que el primero para que vieras el funcionamiento completo de la historia.
Eso quedaría visualmente como los enlaces de la galería de Dabo (sin la barrita vertical que el añade jejeje pero eso es fácil).
Saludinos!
Mabel
Navegación
[#] Página Siguiente
[*] Página Anterior
Ir a la versión completa