From 3de4d4e83eee799cad54d84b22c021fafdc5cfb0 Mon Sep 17 00:00:00 2001 From: Julian Fitzell Date: Tue, 25 Mar 2003 18:45:02 +0000 Subject: [PATCH] * css/default.css: fix the problem where all td's inside div's with text-align: center on them were getting centred. The temporary fix is to tell all td's that they are left aligned again and override it for td's inside tr's with row-category class but this seems like a hacky way to do this and I've never had these problems on any other site so there must be a better solution. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2127 f5dc347c-c33d-0410-90a0-b07cc1902cb9 --- css/default.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/css/default.css b/css/default.css index 8ce4d02e85..823376e6b3 100644 --- a/css/default.css +++ b/css/default.css @@ -27,7 +27,7 @@ table.width75 { width: 75%; border: solid 1px #000000; } table.width60 { width: 60%; border: solid 1px #000000; } table.width50 { width: 50%; border: solid 1px #000000; } -td { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; padding: 4px;} +td { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; padding: 4px; text-align:left;} td.category { background-color: #c8c8e8; color: #000000; font-weight: bold; } td.center { text-align: center; } @@ -49,7 +49,8 @@ td.print-spacer { background-color: #ffffff; color: #000000; font-size: 1pt; li tr {} tr.row-1 { background-color: #d8d8d8; color: #000000; } tr.row-2 { background-color: #e8e8e8; color: #000000; } -tr.row-category { background-color: #c8c8e8; color: #000000; font-weight: bold; text-align:center;} +tr.row-category { background-color: #c8c8e8; color: #000000; font-weight: bold;} +tr.row-category td { text-align:center; } tr.row-category2 { background-color: #c8c8e8; color: #000000; } tr.print { vertical-align: top; } tr.print-category { color: #000000; font-weight: bold; }