Estoy intentando aplicar una imagen de fondo y no logro que se visiones.
Pongo estos datos en la hoja de estilos y no me sale nada. ¿Dónde está el error?:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Página Principal del Ejemplo CCTW</title>
<link rel="stylesheet" href="estilos.css" type="text/css" media="all" />
</head>
<body>
Bienvenidos a mi página web. Muy pronto estará lista!</p>
Página creada gracias a CCTW</p>
</body>
</html>
body {background-color: #FFFF00 ; background-image: url(objetos/fondo.png) ; background-repeat: no-repeat ; background-position: center center ; height:100%;}
Pongo estos datos en la hoja de estilos y no me sale nada. ¿Dónde está el error?:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Página Principal del Ejemplo CCTW</title>
<link rel="stylesheet" href="estilos.css" type="text/css" media="all" />
</head>
<body>
Bienvenidos a mi página web. Muy pronto estará lista!</p>
Página creada gracias a CCTW</p>
</body>
</html>
body {background-color: #FFFF00 ; background-image: url(objetos/fondo.png) ; background-repeat: no-repeat ; background-position: center center ; height:100%;}