dianavm escribió:Hola:
Esto es lo q tengo en estilos :
* {text-indent:0px ; margin:0px ; padding:0px ; border:0px}
<html>
<head>
body {text-align: center}
#global {width:800px ; margin: 4px auto }
#cabecera {background-color: yellow ; border-left: black 1px solid ; border-right: black 1px solid ; }
}
#navegacion {background-color: gray ; border: black 1px solid}
#contenido {background-color: orange ; border:border-left: black 1px solid ; border-right: black 1px solid }
;}
#contenido p {padding: 5px 10px 5px 10px ; text-indent: 15px }
#menu {background-color: pink; width: 150px ; float:left ; text-align:left ; margin: 10px 10px 10px 10px}
#pie {background-color: white ; border-left: black 1px solid ;
border-right: black 1px solid;
border-top: black 1px solid }
#curva-superior { background-image: url(objetos/curva-superior.gif) ;
background-repeat: no-repeat ;
width:800px ;
height: 12px ;
overflow : hidden }
#curva-inferior { background-image: url(objetos/curva-inferior.gif) ;
background-repeat: no-repeat ;
width:800px ;
height: 12px
overflow: hidden }
a {color: brown ; text-decoration:none ; display: block }
a:link {}
a:visited {}
a:hover {color:red ; text-decoration:underline}
a:active {}
p {text-align: justify}
h1 {font-size: 1.2em; color:blue ; font-weight: bold ; text-decoration: underline ; text-align: center}
h2 {font.size: 1.1em; color:blue ; font-weight: bold ; text-decoration: none ; text-align: center}
</body>
</html>
Y en plantilla:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Page title</title>
<link rel="stylesheet" href="estilo-general.css"
type="text/css" media="all">
</head>
<body>
<div id="global">
<div id="curva-superior"></div>
<div id="cabecera">Bienvenidos a mi Web</div>
<div id="navegacion">Barra de Navegación</div>
<div id="contenido">
<div id="menu">
<ul>Enlace 1Enlace 2Enlace 3
</div>
<h1>GALERÍA CIFUENTES</h1>
<h2>Indice de contenidos</h2>
nnnnn.</p>
</div>
<div id="pie">Este es el pie de página</div>
<div id="curva-inferior"></div>
</div>
</body>
</html>
Hola:
Creo, si no me equivoco que usted tiene algunos pequeños errores, por ejemplo usted tiene puesto códigos que deben de estar en su página y no en su hoja de estilo, por ejemplo en su hoja de estilo usted tiene puesto <html>
<head>
Luego al final de su hoja de estilo tiene usted puesto
</body>
</html>
Le sugiero que elimine esos códigos de su hoja de estilo, fuera de eso sería conveniente ordenar un poco la hoja de estilo, por ejemplo dejarla asi:
* {text-indent:0px ; margin:0px ; padding:0px ; border:0px}
p {text-align: justify}
h1 {font-size: 1.2em; color:blue ; font-weight: bold ; text-decoration: underline ; text-align: center}
h2 {font.size: 1.1em; color:blue ; font-weight: bold ; text-decoration: none ; text-align: center}
body {text-align: center}
#global {width:800px ; margin: 4px auto }
#curva-superior { background-image: url(objetos/curva-superior.gif) ;
background-repeat: no-repeat ;
width:800px ;
height: 12px ;
overflow : hidden }
#cabecera {background-color: yellow ; border-left: black 1px solid ; border-right: black 1px solid ; }
#navegacion {background-color: gray ; border: black 1px solid}
#contenido {background-color: orange ; border:border-left: black 1px solid ; border-right: black 1px solid }
#contenido p {padding: 5px 10px 5px 10px ; text-indent: 15px }
#menu {background-color: pink; width: 150px ; float:left ; text-align:left ; margin: 10px 10px 10px 10px}
#pie {background-color: white ; border-left: black 1px solid ;
border-right: black 1px solid;
border-top: black 1px solid }
#curva-inferior { background-image: url(objetos/curva-inferior.gif) ;
background-repeat: no-repeat ;
width:800px ;
height: 12px
overflow: hidden }
a {color: brown ; text-decoration:none ; display: block }
a:link {}
a:visited {}
a:hover {color:red ; text-decoration:underline}
a:active {}
Después que la ordene veremos cual puede ser la razón del problema
Saludos