]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
dhcp.cgi: Adjust spacing between an icon and explanatory text
authorAdolf Belka <adolf.belka@ipfire.org>
Mon, 1 Jan 2024 14:35:45 +0000 (15:35 +0100)
committerPeter Müller <peter.mueller@ipfire.org>
Wed, 3 Jan 2024 21:02:19 +0000 (21:02 +0000)
commitdcb878d6a11ee9b75b4d0752a12b2d68b8691c8e
tree498f6f8f6257f1c1a131c4ccc3d2e1c69d0fedb9
parent3920ba127fb854422f19fb5f6bc7f192f2c2df80
dhcp.cgi: Adjust spacing between an icon and explanatory text

- When dealing with a problem on the forum I noticed that in the Fixed Leases table
   Legend section there was a very large space between the empty checkbox icon and the
   explanatory text. It looks like the &nbsp that I have removed worked on the text
   section 'click to enable' as that was moved but not on the off.gif icon as that stayed
   in its original place leaving a very large space between the icon and the explanatory
   text. Removing the two &nbsp; commands fixes that.
- Reading up about &nbsp the problem might be related to these tags no longer being
   recommended to use with the newer HTML versions and that indenting or spacing should be
   done via CSS code. Will have a look in future on how to accomplish this via CSS.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
html/cgi-bin/dhcp.cgi [changed mode: 0755->0644]