Dreamweaver - .

 
Vista:

.

Publicado por Seba (1 intervención) el 04/02/2008 23:08:57
Buenas a todos! Estoy haciendo mi primera página web y tengo un problema. Tengo instalado el Apache, el PHP 5 y el MySQL; además del Dreamweaver 8.

Antes de instalarme el Dreamweaver, me funcionaba las cosas que hacía cuando ponía localhost. Cualquier cosa se hacía, le ponía .php y funcionaba. Ahora, con el Dreamweaver no.

Estoy haciendo una pág. con PHP y CSS.

Creo que tengo mal algo, por eso necesito su ayuda. Aparentemente es un problema con que no me está reconociendo el .css que la tengo en una carpeta llamada diseño.

En mi página sólo se ve lo hecho en PHP. Les paso el código de PHP, llamado index.php:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>index.html</title>
<link rel="stylesheet" href="diseño/inicial.css" type=text/css>
</head>

<body>
<div class="contenedor">
<div class="logueo">
<table style="width="230" height="120">
<form action="actuaciones.php" method="post">
<tr>
<td width="100" align="right">
Usuario:
</td>
<td width="100" style="padding-left:5">
<input type="text" name="usuario" size="20" maxlength="12">
</td>
</tr>
<tr>
<td width="100" align="right">
<b>Password:</b>
</td>
<td width="100" style="padding-left:5">
<input type="password" name="pass" size="20" maxlength="12">
</td>
</tr>
<tr>
<td width="90" style="padding-left:5">
</td>
<td>
<span style="padding-left:5">
<input name="image" type="image" src="images/boton_login.jpg" alt="" width="50" height="20" border="0" />
</span>
</td>
</tr>
</form>
</table>
</div>
<div class="encabezado">
<div id="logo">
</div>
</div>

<div class="cuerpo">
</div>

<div class="pie"></div>
</div>
</body>

</html>

Ahora el código de CSS, llamado inicial.css:
body {
background-color: #990000; /*Luego borrar*/
}

.contenedor {

height: 1200px;
width: 900px;
font-family: Arial, Helvetica, sans-serif;
font-style: normal;
margin: 0 auto;
}

.encabezado {
height: 120px;
width: 100%;
background-color: #000; /*Luego borrar*/
}

.cuerpo {
font-family: Arial, Helvetica, sans-serif;
font-style: normal;
font-variant: normal;
background-color: #3333CC;
height: 1050px;
}

.pie {
background-color: #FF0000;
height: 30px;
}

.logueo {
font-family: Verdana, Arial, Helvetica, sans-serif;
background-color: #FFFF00; /*Amarillo*/
height: 120px;
width: 30%;
float: right;
font-size: 12px;
float:right;
}

#logo {
height: 120px;
width: 100%;
background-color: #00CC00;
}

Capaz habrá que configurar algo dentro del Dreamweaver para que funcione, aunque no estoy seguro.

Lo que quiero es que cuando ponga localhost en un navegador, me aparezca el diseño junto a lo que tiene el .php

Espero haber sido lo bastante claro. Saludos y gracias!

PD: Recién estoy empezando... je:P
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder