Improve auto-height hack workaround.
[nethome.git] / .userContent.css
index 457b3e8..22c52bc 100644 (file)
@@ -12,19 +12,22 @@ html,html>head,html>head *,html>body,html>body * {
        background-color: black !important;
        color: white !important;
        border-color: gray !important;
+/* These options would be nice but they break the formatting:
        position: static !important;
        left: 0px !important;
        top: 0px !important;
        right: 0px !important;
        bottom: 0px !important;
-/* It would prevent any tables formatting:
+* It would prevent any tables formatting:
        width: auto !important;
        height: auto !important;
-*/
-/* It would display all the intentionally hidden content:
+*
+* It would display all the intentionally hidden content:
        display: inline !important;
-*/
+*
        text-indent: 0px !important;
+*/
+       line-height: normal !important;
        }
 
 html * li {
@@ -46,6 +49,11 @@ html * input,html * select,html * textarea {
        border-width: 1px !important;
        margin: 1px !important;
        }
+html * input,html * select,li,a {
+       /* Conflicts with font-size etc.: */
+       height: auto !important;
+       max-height: none !important;
+       }
 html * input *,html * select *,html * textarea * {
        background-color: navy !important;
        }
@@ -58,3 +66,5 @@ html *:visited { color: #44f   !important; } /* visited links   */
 html *:hover   { color: yellow !important; } * user hovers     *
 html *:active  { color: lime   !important; } * active links    *
 */
+
+td.cnnBodyText > div.cnn4pxPad { display: none; } /* cnn.com */