Suivez les fils RSS
 

Des livres incontournables pour tout maîtriser

  • CSS avancées - vers HTML5 et CSS3
  • HTML5
  • CSS2
  • PHP5 avanc�
  • Memento MySQL
  • Memento CSS 3
  • Memento XHTML
  • WordPress 3 100% pratique
  • jQuery et jQuery UI
Auteur
MisterMagoo
#
Citer
22 Posts
Bonjour,
J'ai une div (pied) avec une seconde imbriquée (pied-text) et j'aimerais placer mon text en bas (baseline ou bottom ?) de cette seconde div ; voici mon code
CSS
#pied {width: 930px; height: 174px; background: #fff url(image/fondfooter.gif) top left no-repeat; padding: 0 ; margin: 0px ;  text-align:right;
}
#pied-text { display:inline-block; width: 500px; height: 70px; color:#ccc; font-size:10px;  vertical-align: middle; padding: 0 10px; margin: 0px ; text-align: right; background: #ccc}


HTML
<div id="pied">
		<div id="pied-text">XXXXXX 2012 - <a href="#" class="pied">Liens Internes</a> - <a href="#" class="pied">Liens externes</a></div>
	</div>


Merci de votre aide smile

Edit : div en position relative.
span ou p contenant le texte en position absolute.
Modifié par MisterMagoo (08 Feb 2012 - 16:40)

"Un arbre qui tombe fait plus de bruit qu’une forêt qui pousse"

^