CSS/HTML consistency, image scaling and word breaking

Implements image scaling, word breaking and fixes several CSS/HTML
inconsistencies