added CSS styles of elements to the log