Ignore:
Timestamp:
10/12/12 15:48:06 (12 years ago)
Author:
Kris Deugau
Message:

/branches/htmlform

Finally dug up a least-nasty way to effectively get rid of the
useless <legend> tag (required in a <fieldset>, in turn required
in a <form>, if you want to be valid HTML 4.01 Strict).
See #3.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/htmlform/templates/edit.tmpl

    r512 r513  
    99<TMPL_IF maychange>
    1010<form method="POST" action="main.cgi">
    11 <fieldset><legend></legend>
     11<fieldset><legend class="noshow">&nbsp;</legend>
    1212<input type="hidden" name="action" value="update">
    1313<input type="hidden" name="block" value="<TMPL_VAR NAME=block>">
     
    159159<tr><td class="center">
    160160<form method="POST" action="main.cgi">
    161 <fieldset><legend></legend>
     161<fieldset><legend class="noshow">&nbsp;</legend>
    162162<div class="row<TMPL_IF nocling><TMPL_IF maychange>0<TMPL_ELSE>1</TMPL_IF><TMPL_ELSE><TMPL_IF maychange>1<TMPL_ELSE>0</TMPL_IF></TMPL_IF>">
    163163<input type="hidden" name="action" value="delete">
Note: See TracChangeset for help on using the changeset viewer.