added style for view caption refs #1790 #6