Changeset 912 for trunk/template/yoga


Ignore:
Timestamp:
Oct 23, 2005, 11:18:56 PM (19 years ago)
Author:
chrisaga
Message:

bug fixed: cat-list.tpl validate now

improvement: removed some unnecessary css rules from old tests in

FROM design in file default-layout.css

Location:
trunk/template/yoga
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/template/yoga/admin/cat_list.tpl

    r905 r912  
    4444
    4545<form id="addVirtual" action="{F_ACTION}" method="post">
    46   {L_ADD_VIRTUAL} : <input type="text" name="virtual_name" />
    47   <input type="hidden" name="rank" value="{NEXT_RANK}"/>
    48   <input type="submit" value="{L_SUBMIT}" name="submitAdd" />
     46  <p>
     47    {L_ADD_VIRTUAL} : <input type="text" name="virtual_name" />
     48    <input type="hidden" name="rank" value="{NEXT_RANK}"/>
     49    <input type="submit" value="{L_SUBMIT}" name="submitAdd" />
     50  </p>
    4951</form>
  • trunk/template/yoga/default-layout.css

    r905 r912  
    6868
    6969form { padding: 0em; }
    70 
    71 /* form row are dl instead of table rows */
    72 form dl {
    73   text-align: left;   /* must set it there otherwise IE render dl.biglabel dt incorectly */
    74   margin-top: 0;
    75   margin-bottom: 0;
    76     font-size: 100%; /* TO DO : alignement pb in Opera !!!*/
    77 }
    78 form dt {
    79   float: left;
    80   /*text-align: left;*/
    81   width: 60%;
    82   margin-top: 0.25em;
    83   margin-bottom: 0.25em;
    84 }
    85 form dd {
    86   /*text-align: left;*/
    87   /*margin-top: 0.5em;*/
    88   margin:0;
    89   padding:0;
    90   margin-top: 0.25em;
    91   margin-bottom: 0.25em;
    92 }
    93 /* we must use one dl.biglabel per <dt><dl> because of positionning */
    94 form dl.biglabel {
    95   position: relative; /* to allow position: absolute in dd*/
    96 }
    97 form dl.biglabel dt {
    98   float: none;
    99 }
    100 
    101 form dl.biglabel dd {
    102   /*float: right; do not whant to float ????*/
    103   /*width: 60%;*/
    104   position: absolute;
    105   top: 0;
    106   left: 60%; /* same as form dt width */
    107 }
    108 form dl.biglabel dd { padding-left:2px;} /* IE */
    109 form dl.biglabel>dd { padding-left:0;}  /* other browsers */
    11070
    11171form p {
Note: See TracChangeset for help on using the changeset viewer.