aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
Diffstat (limited to 'template/yoga')
-rw-r--r--template/yoga/admin/cat_list.tpl8
-rw-r--r--template/yoga/default-layout.css40
2 files changed, 5 insertions, 43 deletions
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;