Cita:
Iniciado por GatorV Pues copia los estilos (la parte entre <style> y </style>) entre el <head> y </head> de la otra pagina, luego en el img como te comentaron más arriba solamente le pones el class de la regla CSS que quieres usar.
Saludos.
Muchas gracias amigo por responder tan rápido.
Así al final todo queda en un solo archivo PHP?
La cosa quedaría así:
archivo.PHP
<?php
$image = $_GET['image'];
?>
<html>
<head>
<title>pagina</title>
<style type="text/css">
html, body {
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
img#bg {
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
}
#content {
position:relative;
z-index:1;
margin:0 auto;
}
</style>
</head>
<body>
<img src="<?php echo $image; ?>" class="imagen_usuario" />
</body>
</html>
Y mis usuarios para llamar la pagina web sería así?:
ht?p:/mipagina.net/archivo.php?var_imagen=ht?p:/subeimagen/riconi.jpg
Gracias!