Created
October 4, 2012 11:07
-
-
Save felixzapata/3832977 to your computer and use it in GitHub Desktop.
truco para que un pie de foto ocupe todo el ancho de la imagen independiente de su ancho
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.loc { | |
display:table; | |
position:relative; | |
margin-bottom:39px; | |
} | |
.faldon { | |
display:table-caption; | |
position:absolute; | |
bottom:0; | |
left:0; | |
display:block; | |
width:100%; | |
padding:9px 0; | |
background-color:#6a899b; | |
background:rgba(106,137,155,0.85); | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
figure { display: table; margin-bottom:10px; } | |
figcaption{ | |
display: table-caption; | |
caption-side: bottom ; | |
padding-top:10px; | |
font:italic normal 10px Georgia, "Times New Roman", Times, serif; | |
color:#6b899b; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="loc"> | |
<img src="img/mapa_estamos.png" width="730" height="252" alt="" /> | |
<span class="faldon"><a href="light_01_informacion corporativa.html" class="lightbox">Ampliar información</a></span> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<figure class="wide"> | |
<img src="img/grafico_pro_energia.png" alt="gráfico de producción de energía" width="732" height="241" /> | |
<figcaption>orte total de 5‚7 millones de euros con cargo a los resultados del ejercicio 2011. Esta cifra se suma al dividendo a cuenta de </figcaption> | |
</figure> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment