From aebc654a5923047fb84efbcfbd35a1110ff23942 Mon Sep 17 00:00:00 2001 From: Wesley Wannemacher Date: Tue, 2 Dec 2008 05:19:57 +0000 Subject: [PATCH] moving CSS class declaration to the UL tag to make styling more flexible. Per WW-2655 git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@722375 13f79535-47bb-0310-9956-ffa450edef68 --- .../resources/template/css_xhtml/styles.css | 2 +- .../resources/template/simple/fielderror.ftl | 26 +++++++++---------- .../main/resources/template/xhtml/styles.css | 2 +- .../struts2/views/jsp/ui/fielderror-1.txt | 8 +++--- .../struts2/views/jsp/ui/fielderror-3.txt | 6 ++--- .../struts2/views/jsp/ui/fielderror-4.txt | 6 ++--- .../struts2/views/jsp/ui/fielderror-5.txt | 4 +-- .../struts2/views/jsp/ui/fielderror-6.txt | 4 +-- 8 files changed, 29 insertions(+), 29 deletions(-) diff --git a/core/src/main/resources/template/css_xhtml/styles.css b/core/src/main/resources/template/css_xhtml/styles.css index 88ced472f..d17b53cf6 100644 --- a/core/src/main/resources/template/css_xhtml/styles.css +++ b/core/src/main/resources/template/css_xhtml/styles.css @@ -26,7 +26,7 @@ width:30% } .errorLabel {font-style:italic; color:red; } -.errorMessage {font-weight:bold; text-align: center; color:red; } +.errorMessage {font-weight:bold; color:red; } .checkboxLabel {} .checkboxErrorLabel {color:red; } .required {color:red;} diff --git a/core/src/main/resources/template/simple/fielderror.ftl b/core/src/main/resources/template/simple/fielderror.ftl index cfba98152..52899f1e1 100644 --- a/core/src/main/resources/template/simple/fielderror.ftl +++ b/core/src/main/resources/template/simple/fielderror.ftl @@ -33,11 +33,7 @@ <#assign haveMatchedErrorField=true><#t/> <#assign eValue = fieldErrors[fieldErrorFieldName]><#t/> <#if (haveMatchedErrorField && (!doneStartUlTag))><#t/> -