When I work on creating responsive websites, I often encounter a problem with long URLs breaking my fluid grid and causing horizontal scrolling on smaller devices. These lengthy URLs don't wrap, which means they widen the container beyond the device width...
<--device-->
______________
| |
| http://longurlthatdoesntfit.com
| |
| |
Sometimes I try setting the container to overflow:hidden
, but this just cuts off the end of the URL and causes glitches. Another option could be to reduce the font size on smaller devices, but when the URL lengths vary, it would require shrinking it significantly to ensure it fits.
I believe there has to be a better solution out there.