July 2014
CSS - Centrer en CSS - OpenClassRoom
Tous les cas solvables en pur CSS, et tant qu'à faire montrer comment les résoudre.
Accrochez-vous, c'est parti !
July 2013
CSS - Centering Percentage Width/Height Elements | CSS-Tricks
by 1 other (via)If you know the exact width/height of an element, you can center it smack dab in the middle of its parent element easily with this classic trick: top and left set to 50% and negative margins half the width and height of the element. That's great if you know the width and height of the element you're trying to center, but what if they are percentages?
1
(2 marks)