Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. while($dato=mysql_fetch_array($resultado)){
  2. echo "<div class='grupo'>";
  3. echo "<div class='foto'>";
  4. echo "<a href='mostrar_albumes_grupo.php?cod_grupo=$dato[0]&grupo=$dato[1]''>
  5. <img src='$dato[5]' alt='Imagen fallida. Sorry' title='Ver discos de $dato[1]'/></a>"."<br />";
  6. echo "</div>";
  7.  
  8. echo "<div class='nombre'>";
  9. echo $dato['nombre_grupo']." (".$dato['fecha'].")";
  10. echo "</div>";
  11.  
  12. echo "<div class='info'>";
  13. echo "<span class='negrita'>Nacionalidad: </span>". $dato['nacionalidad']."<br />";
  14. echo "</div>";
  15.  
  16. echo "<div class='info'>";
  17. echo "<span class='negrita'>Biografia: </span>".$dato['biografia']."<br />";
  18. echo "</div>";
  19. echo "</div>";
  20. }
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30. *{
  31. margin: 0;
  32. padding: 0;
  33. font-family: Calibri;
  34. }
  35.  
  36. #contenedor{
  37. border: 1px solid red;
  38. margin: 1em auto;
  39. width: 80%;
  40. }
  41.  
  42. .foto img{
  43. border-radius: 10%;
  44. box-shadow: 3px 3px 5px rgba(0, 0, 0, .7);
  45. width: 60%;
  46. }
  47.  
  48. .foto{
  49. margin-bottom: .4em;
  50. }
  51.  
  52. .grupo{
  53. /*border: 1px solid green;*/
  54. margin: 1em .5em;
  55. display: inline-block;
  56. padding: .5em;
  57. vertical-align: top;
  58. width: 16.5%;
  59. }
  60.  
  61. .info{
  62. /*border: 1px solid blue;*/
  63. font-size: .9em;
  64. margin-bottom: .3em;
  65. text-align: justify;
  66. }
  67.  
  68. .negrita{
  69. font-weight: bold;
  70. }
  71. .nombre{
  72. /*border: 1px solid black;*/
  73. color: #F60;
  74. margin-bottom: .3em;
  75. }
  76.  
  77. .margen-izq{
  78. margin-left: 2em;
  79. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement