Prevent Long URL's From Breaking Out with CSS

This solution will help you to prevent many issues with your site, when you need to prevent long URL's from breaking out of container.

[View All Snippets]
Show Plain Text »
  1. <style type="text/css">
  2. .break {
  3.     -ms-word-break: break-all;
  4.     word-break: break-all;
  5.     word-break: break-word;
  6.     -webkit-hyphens: auto;
  7.     -moz-hyphens: auto;
  8.     hyphens: auto;
  9. }
  11. .ellipsis {
  12.     width: 250px;
  13.     white-space: nowrap;
  14.     overflow: hidden;
  15.     -ms-text-overflow: ellipsis; /* Required for IE8 */
  16.     -o-text-overflow: ellipsis; /* Required for Opera */
  17.     text-overflow: ellipsis;
  18. }
  19. </style>
Create Your Free Account
Please remember that this information is essential to use our services correctly.
After creating the account you will be able to download all of our FREE products.
Fields marked with * are mandatory

Please send me information about updates, new products, specials and discounts from ApPHP!
We recommend that your password should be at least 6 characters long and should be different from your username/email. Please use only letters of the English alphabet to enter your name.

Your e-mail address must be valid. We use e-mail for communication purposes (order notifications, etc). Therefore, it is essential to provide a valid e-mail address to be able to use our services correctly.

All your private data is confidential. We will never sell, exchange or market it in any way. Please refer to Privacy Policy.

By clicking "Create Account", you are indicating that you have read and agree to the ApPHP Terms & Conditions.

Quick Registration with: Facebook / Google