move calculateoffset into anchorstyle method. calculate dimensions when anchor is a block.
move calculateoffset into anchorstyle method. calculate dimensions when anchor is a block.

bangpound/lightbox,bangpound/lightbox,bangpound/lightbox