From 5d49648fd96492e31cf7c6df507ae42e9cd1e42d Mon Sep 17 00:00:00 2001 From: Marcus Ramberg Date: Mon, 25 Oct 2004 13:59:07 +0000 Subject: [PATCH] Fixes to XHTML & CSS compability. git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@265 48953598-375a-da11-a14b-00016c27c3ee --- templates/factory/macros | 4 ++-- templates/maypole.css | 18 +++++++++++------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/templates/factory/macros b/templates/factory/macros index ddd9ffb..357c329 100644 --- a/templates/factory/macros +++ b/templates/factory/macros @@ -81,8 +81,8 @@ This is a generic button, which performs an action on an object. #%] [% MACRO button(obj, action) BLOCK; %] -
-
+
+
[% END %] [%# diff --git a/templates/maypole.css b/templates/maypole.css index c7697e2..f20b587 100644 --- a/templates/maypole.css +++ b/templates/maypole.css @@ -290,11 +290,6 @@ label .field { .error { color: #d00; } -.actions { - white-space: nowrap; - background-color: #fff; -} - .action { border: 1px outset #7d95b5; style:block; @@ -310,7 +305,7 @@ label .field { display: inline; } -#actionbutton { +.actionbutton { height: 16px; width: 40px; font-family: sans-serif; @@ -320,11 +315,20 @@ label .field { margin-bottom: 0px; } -#actionbutton:hover { +.actionbutton:hover { color: #fff; background-color: #7d95b5; } +.actions { +white-space: nowrap; +} + +.field { + display:inline; + background-color: #fff; +} + .pager { font: 11px Arial, Helvetica, sans-serif; text-align: center; -- 2.39.5