
06/06/2008, 08:15
|
| | Fecha de Ingreso: junio-2008
Mensajes: 5
Antigüedad: 16 años, 9 meses Puntos: 0 | |
Respuesta: Ayuda urgente con Script !!!! pues ya le intente programar pero no me respeta digamos que la orden, solo he podido modificar la fuente y el color de esta, que es la que da la bienvenida, por que lo que es el tamaño no lo respeta, tambien ya trate de ponerle un fondo pero sigue siendo color blanco...................alguien podria ayudarme haber como podria quedar, lo que tengo hasta ahora es esto:
<!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>
<style type="text/css">
<!--
a:link {
color: #666666;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #0099CC;
}
a:hover {
text-decoration: underline;
color: #999999;
}
a:active {
text-decoration: none;
color: #999999;
}
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
}
body {
background-image: url();
background-color: #999999;
}
a {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
}
h1,h2,h3,h4,h5,h6 {
font-family: Verdana, Arial, Helvetica, sans-serif;
}
h2 {
font-size: 6px;
color: #CCFF00;
}
.Estilo15 {font-size: 9px}
h1 {
font-size: 9px;
color: #00FF00;
}
-->
</style>
<html>
<head>
<title>Bienvenido a mi Página </title>
<script type="text/javascript">
function rewritePage(form) {
var newPage = "<html><head><title> bienvenido a mi pagina";
newPage += form.entry.value;
newPage += "</title></head><body>";
newPage += "<h1><background-color: #CCCCCC></h1>"
newPage += "<h1>Hola, " + form.entry.value + "!!!</font></h1>";
newPage += "</body></html>";
document.write("<Font color=ff0800 face=verdana, arial size=9px>" + newPage);
document.close();
}
</script>
<body>
<h1><img src="img/cabezal.jpg" width="850" height="150" /></h1>
<h1 class="Estilo15">Hola</h1>
<hr>
<form onsubmit="return false;">
<p>Escribe tu Nombre: <input type="text" name="entry" id="entry">
<input type="button" value="Entrar" onclick="rewritePage(this.form);">
</p>
</form>
<p> </p>
</body>
</html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>mi web</title>
</head>
<body>
</body>
</html> |