O'Reilly logo
  • cai qiyu thinks this is interesting:

Since setting the top and bottom margins to auto will give them zero height, the only way to vertically center the element in this particular case would be to set them both to 25%


Cover of Basic Visual Formatting in CSS


does not work for me