From: Marcus Ramberg Date: Mon, 25 Oct 2004 13:59:07 +0000 (+0000) Subject: Fixes to XHTML & CSS compability. X-Git-Tag: 2.10~97 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=5d49648fd96492e31cf7c6df507ae42e9cd1e42d;p=maypole.git Fixes to XHTML & CSS compability. git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@265 48953598-375a-da11-a14b-00016c27c3ee --- 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;