From 65c2995d09a398658ef1e0f3b5951712137e9bf4 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 8 Jan 2009 10:38:24 -0800 Subject: [PATCH] Minor fixes for Decorator.css.php based on real-world use: - dfn no longer needs to be a child element to be styled - Added more padding to dd and make it float left instead of right - Added new .submit row - Made .headings:td pseduo-classes in reverse order for cascading purposes --- Decorator.css.php | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/Decorator.css.php b/Decorator.css.php index d126f3f..fae1096 100644 --- a/Decorator.css.php +++ b/Decorator.css.php @@ -126,7 +126,7 @@ fieldset dt label } /* Description for form elements/names */ -fieldset label dfn +dfn { font-weight: normal; font-style: italic; @@ -153,11 +153,25 @@ fieldset dl dt /* Field value editor */ fieldset dl dd { - padding: 4px 0px 2px 4px; + padding: 4px 0px 2px 5px; margin: 5px 0px 5px 0px; - width: 48%; - float: right; + border-width: 0px 0px 0px 0px; + border-color: #7BAA5A; + border-style: solid; + + float: left; +} + +/* Submit row items */ +.submit +{ + text-align: center; + + background-color: rgb(50, 50, 50); + + margin: 4px 0px 4px 0px; + padding: 5px; } /*******************************************************************/ @@ -227,14 +241,14 @@ thead text-align: center; } - .headings td:first-child + .headings td:last-child { - text-align: left; + text-align: right; } - .headings td:last-child + .headings td:first-child { - text-align: right; + text-align: left; } /* Data formatting for tables */ -- 2.43.5