img class="centeredPIC"
IMG.centeredPIC { display: block; margin-left: auto; margin-right: auto }
FINAL:
#flkr-cntrPIC{ display: block; margin-left: auto; margin-right: auto; float: center; padding: 5px; margin-bottom: 8px; border: 1px solid #ccc;}

References:
Web Publishing Secrets - Zeldman [written 10 days before 9/11]
Centering Images is harder than you think [2004/09]
W3C section on centering [lu 2007/01/15]
No comments:
Post a Comment