parent:
24e23cb884233e7d111041aa74a769a6065db3c0
Nick Mykins <nick.mykins@gmail.com>
2014-10-18T19:19:06-04:00
css word wrap
diff --git a/static/style.css b/static/style.css
index b589d51376e2c4469b6e3c8502c91370a27382cf..8ecbb88ad6cc96a09a396a5f610d72b0e12da6b2 100644
--- a/static/style.css
+++ b/static/style.css
@@ -1,10 +1,17 @@
div.class_name {
+ width: 100%;
+ height: 100%;
font-size: 200%;
font-family: courier;
color: navy;
word-wrap: break-word;
- position: fixed;
+ position: relative;
+}
+div.class_name p {
+ margin: 0;
+ position: absolute;
top: 50%;
left: 50%;
- transform: translate(-50%, -50%);
+ margin-right: -50%;
+ transform: translate(-50%, -50%);
}