From 7baffb15e00f5cd63399cc794174762c9b89f571 Mon Sep 17 00:00:00 2001 From: Tor Hveem Date: Thu, 14 Aug 2014 15:18:24 +0200 Subject: [PATCH] Fix word breaking Use break-all to force breaking in all browsers. --- css/glowingbear.css | 14 ++++++++++++-- index.html | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/css/glowingbear.css b/css/glowingbear.css index 108fa9d..337ffa7 100644 --- a/css/glowingbear.css +++ b/css/glowingbear.css @@ -56,11 +56,21 @@ td.prefix { border-right: 1px solid #444; } td.message { - word-wrap: break-word; - word-break: break-word; vertical-align: top; width: 100%; padding: 1px 1px 1px 5px; + +-ms-word-break: break-all; + word-break: break-all; + + /* Non standard for webkit */ + word-break: break-word; + +-webkit-hyphens: auto; + -moz-hyphens: auto; + -ms-hyphens: auto; + hyphens: auto; + } #readmarker { margin-top: 5px; diff --git a/index.html b/index.html index 6cae901..ad1a558 100644 --- a/index.html +++ b/index.html @@ -30,7 +30,7 @@ - +

logo