Changed to use css to display element info block