[Phpmyadmin-devel] HTML issue for TIMESTAMP options

Garvin Hicking phpmyadmin at supergarv.de
Thu Mar 31 02:49:51 CEST 2005


Hi Marc!

> I would like to know how to make the label of the checkbox appear next to it,
> and not under it. This is on the table structure editing page.

Which PMA-Template are you using? The default one? Because if I test your HTML
snippet isolated in a single HTML page, the label is next to the checkbox
without a linebreak; the linebreak is only after the <input type="text"> field.

You can play with "display: inline" or "float: left" of the label and position
the label before the checkbox in HTML.

> <td bgcolor="#E5E5E5" align="center">
> <input type="hidden" name="field_default_orig[]" size="8"
> value="CURRENT_TIMESTAMP" /><input id="field_0_7" type="text"
> name="field_default[]" size="12" value="" class="textfield" /><br /><input
> id="field_0_7a" type="checkbox" name="field_default_current_timestamp[0]"
> checked="checked" /><label for="field_0_7a" style="font-size:
> x-small;">CURRENT_TIMESTAMP</label></td>

Regards,
Garvin

-- 
++ Garvin Hicking | Web-Entwickler [PHP]    | www.garv.in | ICQ 21392242
++ Developer of   | www.phpMyAdmin.net      | www.s9y.org

++ Make me happy  | http://wishes.garv.in





More information about the Developers mailing list