extend style for two logos, support arbitrary html in logo