Question : delete large space

alone
this code works fine


but when I put it in my php file

then there is
a large space between the checkbox and the text


I want to eliminate the large space


I am using a content management system and can not show all the code
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
<div><input type='checkbox' id='s90' name='s90' value='s90' 
<?php 
if(isset($_SESSION['s90']) && $_SESSION['s90']!='') {
//echo 'checked'; //echo 'thanks for checking us';
echo 'checked';                                                                     
$s90=90; 
}else{
$s90=0;
}     
?>/>Step 3 - Sent to warehouse</div>

Answer : delete large space

Where you have (in your original code snippet)

<div><input type='checkbox' id='s90' name='s90' value='s90'

Change this to

<div class='s90InputField'><input type='checkbox' id='s90' name='s90' value='s90'

and then add a new rule AFTER the INPUT rule - in fact add this at the end

.s90InputField {
      width: 20px;
}

Obviously you can adjust the width to suit.
Random Solutions  
 
programming4us programming4us