* fmout class different depending o input
authorMatt <matt@uncensored.citadel.org>
Sun, 1 Mar 2009 01:27:28 +0000 (01:27 +0000)
committerMatt <matt@uncensored.citadel.org>
Sun, 1 Mar 2009 01:27:28 +0000 (01:27 +0000)
* text-overflow: ellpisis will truncate text in listview table in every browser but Firefox (argh)

webcit/serv_func.c
webcit/static/webcit.css

index d64d83983193f275dd64dbb4f67335349ec92a11..5fc0996bd1ca00f33585babd08ddb0d96323dc42 100644 (file)
@@ -192,7 +192,7 @@ void FmOut(StrBuf *Target, char *align, StrBuf *Source)
        long len;
        int intext = 0;
 
-       StrBufAppendPrintf(Target, "<div class=\"fmout\">\n", align);
+       StrBufAppendPrintf(Target, "<div class=\"fmout-%s\">\n", align);
        while ((n = StrBufSipLine(Line, Source, &BufPtr), n >= 0) && !done)
        {
                done = n == 0;
index e3c2fe4f000ccd6f68087f8592fab62aa2889a7d..ee60b22aa65de5030efcfdb8c918bc886f570430 100644 (file)
@@ -617,6 +617,8 @@ body, #global {
 }
 .col1, .col2, .col3 {
     cursor: pointer;
+    text-overflow: ellipsis;
+    -o-text-overflow: ellipsis;
 }
 .new_message {
     font-weight: bold; !important;