how to get style.height & width automatically?
finished text content and attribute chapter