Ver Mensaje Individual
  #23 (permalink)  
Antiguo 09/04/2009, 14:24
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: PHP para linkear una imagen variable

Asi es solo en este caso tu CSS no tiene una clase, si no mas bien un descriptor para el ID, debería ser algo así:
Código php:
Ver original
  1. <?php
  2. $image = $_GET['image'];
  3. ?>
  4. <html>
  5. <head>
  6. <title>pagina</title>
  7. <style type="text/css">
  8. html, body {
  9. height: 100%;
  10. margin: 0;
  11. padding: 0;
  12. overflow: hidden;
  13. }
  14. .the_image {
  15. position:fixed;
  16. top:0;
  17. left:0;
  18. width:100%;
  19. height:100%;
  20. }
  21. </style>
  22. </head>
  23. <body>
  24. <img src="<?php echo $image; ?>" class="the_image" />
  25. </body>
  26. </html>
Si tienes más dudas te recomiendo que veas como trabaja CSS e investigues, en el foro de CSS hay mucha información.

Saludos.