-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Long url overlaps block in web-based clients #115
Comments
Can you insert a zero width non-joiner character in spots so that it is afforded the opportunity to break in certain spots? I do this in the references blocks (I work in a pharma agency) where the links are super long and must display. |
Unfortunately this is a parameter filled from a json file which I do not control, so I'm hoping to find a solution in the html side of things :) |
Yahoo/AOL mostly support overflow (not sure about others--https://www.caniemail.com/features/css-overflow/), so in the td you could potentially add overflow:auto. To limit to just them you can add a class with a comment like so:
|
Unfortunately this didn't work either |
Looks like Yahoo adds
Your code already has I'd say the best solution is to use Ghost tables, that way you avoid the Another solution is to use a |
Not sure of a solution for GMX/Web.de/Mail.com yet as they seem to remove all |
The line-break CSS property seems to be well supported, so you can use <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<div style="max-width:400px;">
<a href="https://example.com" style="color:#69A507; text-decoration:none; line-break:anywhere;" target="_blank">
https://www.website.com/forgot-password?p=6232e0aa7s34234dfsdfasd928f17&h=LdGBnA1MFdsdf43fr3sODvi8TG%2FqYUqCoU8%3D&k=6298acd25g5gdd12gh8698ac63fef5c2ed
</a>
</div>
</body>
</html> |
Hi there,
I have a problem with a long url that has to be displayed, and it overlaps my 600px block in some web-based clients only, forcing it to stretch.
Clients:
Yahoo! Mail (Chrome)
Yahoo! Mail (Edge)
Web.de (Edge)
Web.de (Chrome)
GMX.de (Edge)
GMX.de (Chrome)
AOL Mail (Edge)
AOL Mail (Chrome)
Screenshot: https://ibb.co/jybq2dj
I tried some break-all variations but none of them worked unfortunately.
Source code:
Has anybody encountered something similar?
Thank you in advance for your help!
The text was updated successfully, but these errors were encountered: