I've been struggling to find a solution for the problem I'm facing with Chrome when it comes to wrapping long URLs in a table cell. Despite trying various solutions found online, including using the CSS code word-wrap: break-word;
, I have not been successful in getting the URL to wrap properly. The specific URL causing issues is (changed here for privacy):
https://example.com/api/?REQUEST=%3C%3Fxml%20version%3D%271.0%27%20%3F%3E%3Cnta%3E%3Capi%20version%3D%271.0%27%3E%woot%20function%3D%22login%22%3E%3Clogin%3E%3C!%5BCDATA%5Bjpublic%something.com%5D%5D%3E%3C%2Flogin%3E%3Cpassword%3E%3C!%5BCDATA%5Bnta46550%5D%5D%3E%3C%2F
.
Adding a width property to the td did not result in any changes. It was suggested to also include table-layout: fixed;
along with word-wrap: break-word;
, but I prefer my columns to be flexible in width and not fixed. Interestingly, I do not encounter this issue when using the fixed property. This seems to be unique to the latest version of Chrome, as both Firefox 26.0 and IE 11 do not exhibit the same problem. Any assistance on resolving this would be highly appreciated.