added necessary html and css to prevent strange wrapping behavior when the content was too long