div{ height:200px; width:200px; background:blue; text-align:center; line-height:200px; font-size:200px } *>div{ font-size:12px } img{ vertical-align:middle; }
a.container{ display:block; text-align:center; height:300px; width:200px; line-height:300px; font-size:300px; background:tomato } *>a.container{ font-size:12px } img{ vertical-align:middle; }
You can return to the original "Applied CSS Vertical-Align" article or to the iBloom Studios homepage