added safeguard against div{} css definitions.