aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2005-10-23 21:18:56 +0000
committerchrisaga <chrisaga@piwigo.org>2005-10-23 21:18:56 +0000
commitda31f1fd2fd55b6a68a72d26cb2acc3b8a7817ab (patch)
tree52b655edabf8fd877d468b5c8f761d44b5238b8a
parentaa27a6b5982a8d884e06f8b45bef7f012a2dea3b (diff)
bug fixed: cat-list.tpl validate now
improvement: removed some unnecessary css rules from old tests in FROM design in file default-layout.css git-svn-id: http://piwigo.org/svn/trunk@912 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--doc/ChangeLog8
-rw-r--r--template/yoga/admin/cat_list.tpl8
-rw-r--r--template/yoga/default-layout.css40
3 files changed, 13 insertions, 43 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index d0e975252..354d4a99f 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,11 @@
+
+2005-10-23 chrisaga
+
+ * bug fixed: cat-list.tpl validate now
+
+ * improvement: removed some unnecessary css rules from old tests in
+ FROM design in file default-layout.css
+
2005-10-23 Pierrick LE GALL
* bug 181 fixed: "Parameters not created in phpwebgallery_config
diff --git a/template/yoga/admin/cat_list.tpl b/template/yoga/admin/cat_list.tpl
index 5d968eaa1..516917c8e 100644
--- a/template/yoga/admin/cat_list.tpl
+++ b/template/yoga/admin/cat_list.tpl
@@ -43,7 +43,9 @@
</form>
<form id="addVirtual" action="{F_ACTION}" method="post">
- {L_ADD_VIRTUAL} : <input type="text" name="virtual_name" />
- <input type="hidden" name="rank" value="{NEXT_RANK}"/>
- <input type="submit" value="{L_SUBMIT}" name="submitAdd" />
+ <p>
+ {L_ADD_VIRTUAL} : <input type="text" name="virtual_name" />
+ <input type="hidden" name="rank" value="{NEXT_RANK}"/>
+ <input type="submit" value="{L_SUBMIT}" name="submitAdd" />
+ </p>
</form>
diff --git a/template/yoga/default-layout.css b/template/yoga/default-layout.css
index bb8bb50eb..475409b50 100644
--- a/template/yoga/default-layout.css
+++ b/template/yoga/default-layout.css
@@ -68,46 +68,6 @@ pre { text-align:left; }
form { padding: 0em; }
-/* form row are dl instead of table rows */
-form dl {
- text-align: left; /* must set it there otherwise IE render dl.biglabel dt incorectly */
- margin-top: 0;
- margin-bottom: 0;
- font-size: 100%; /* TO DO : alignement pb in Opera !!!*/
-}
-form dt {
- float: left;
- /*text-align: left;*/
- width: 60%;
- margin-top: 0.25em;
- margin-bottom: 0.25em;
-}
-form dd {
- /*text-align: left;*/
- /*margin-top: 0.5em;*/
- margin:0;
- padding:0;
- margin-top: 0.25em;
- margin-bottom: 0.25em;
-}
-/* we must use one dl.biglabel per <dt><dl> because of positionning */
-form dl.biglabel {
- position: relative; /* to allow position: absolute in dd*/
-}
-form dl.biglabel dt {
- float: none;
-}
-
-form dl.biglabel dd {
- /*float: right; do not whant to float ????*/
- /*width: 60%;*/
- position: absolute;
- top: 0;
- left: 60%; /* same as form dt width */
-}
-form dl.biglabel dd { padding-left:2px;} /* IE */
-form dl.biglabel>dd { padding-left:0;} /* other browsers */
-
form p {
text-align: center;
margin-top: 2em;