Foros del Web » Creando para Internet » Herramientas y Software »

problema con frames en dreamweaver cs4

Estas en el tema de problema con frames en dreamweaver cs4 en el foro de Herramientas y Software en Foros del Web. Buenas, tengo un problema con una pagina que estoy haciendo muy sencilla con marcos, la pagina tiene un marco superior donde va un banner y ...
  #1 (permalink)  
Antiguo 18/02/2011, 17:46
 
Fecha de Ingreso: noviembre-2010
Mensajes: 18
Antigüedad: 13 años, 5 meses
Puntos: 0
problema con frames en dreamweaver cs4

Buenas, tengo un problema con una pagina que estoy haciendo muy sencilla con marcos, la pagina tiene un marco superior donde va un banner y un menu de enlaces y un marco inferior que será el que muestre los contenidos, el caso es que creo que el codigo está bien y sin embargo cuando hago click en algun enlace el contenido se abre en una ventana nueva del navegador en lugar de abrirse en el frame que le indico en el target...

Os pego el codigo a ver si me podeis ayudar, por favor.



index.html

Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>animooorrr</title>
</head>
<frameset rows="182,*" cols="*" framespacing="0" frameborder="no" border="0">
  <frame src="cabecera.html" frameborder="no" scrolling="no" noresize="noresize" id="cabecera" />
  <frame src="contenido.html" frameborder="no" scrolling="auto" id="contenido" />
</frameset>
<noframes><body>
</body></noframes>
</html>

cabecera.html

Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
<style type="text/css">
<!--
body {
	background-color: #9F9;
}
a:link {
	color: #000;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #000;
}
a:hover {
	text-decoration: none;
	color: #F00;
}
a:active {
	text-decoration: none;
}
-->
</style></head>

<body>
<table width="200" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#006600">
  <tr>
    <td colspan="2"><img src="banner.gif" width="800" height="150" /></td>
  </tr>
  <tr>
    <td width="400" align="center" bgcolor="#CC33CC"><a href="biografia.html" target="contenido">biografia</a></td>
    <td width="400" align="center" bgcolor="#CC99CC">imagenes</td>
  </tr>
</table>
</body>
</html>

contenido.html (en principio esta en blanco)

Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
</head>

<body>
</body>
</html>

A ver si podeis echarme un cable porque ando loco...

Muchas gracias!

Saludos
  #2 (permalink)  
Antiguo 19/02/2011, 05:33
 
Fecha de Ingreso: noviembre-2010
Mensajes: 18
Antigüedad: 13 años, 5 meses
Puntos: 0
Respuesta: problema con frames en dreamweaver cs4

Buenos días;

Ya lo he solucionado, el problema estaba en que había insertado mal los marcos, en vez de utilizar insertar-html-marcos habia usado modificar-conjunto de marcos...


Saludos y gracias.

Etiquetas: dreamweaver, editores-web, frames
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 00:50.