Jump to content

Recommended Posts

I seem to have a (small) problem with my form's output.

 

One part of my form consists out of several options with a checkbox, e.g.:

 

I want the following software installed:

 

[] brand a

[] brand b

[] brand c

[] brand d

[] brand e

 

When people select all for of the checkboxes, the form's output looks fine. But when people check options b & d (for example) they get an ugly space in between when they go to the overview page.

 

They get this

 

(empty space)

[] brand b

(empty space)

[] brand d

(empty space)

 

Is there any way to remove those empty spaces?

 

I already tried Googling it several times, but no results... Any advice?

Link to comment
https://forums.phpfreaks.com/topic/46864-question-about-forms/
Share on other sites

<table>
  <tr>
    <td class="pblabelcell">:: te installeren opties op uw server :: </td>
    </tr>
  <tr>
    <td class="plabelcell"><br>
      [m_4PSA_Software1]<br>
      [m_4PSA_Software2]<br>
      [m_4PSA_Software7]<br>
      [m_4PSA_Software]<br>
      [m_4PSA_Software3]<br>
      [m_4PSA_Software4]<br>
      [m_4PSA_Software5]<br>
      [m_4PSA_Software6]<br>
      [m_Plesk_add-on]<br>
      <br></td>
  </tr>
</table>

 

Doubt it will be helpful though...

 

/edit

Removing the breaks is no option, cause it will make it look awful (worse then it is now).

Link to comment
https://forums.phpfreaks.com/topic/46864-question-about-forms/#findComment-228458
Share on other sites

why don't you use the cells

 

ie

<table>
  <tr>
    <td class="pblabelcell">:: te installeren opties op uw server :: </td>
    </tr>
  <tr>
<tr>
	<td class="plabelcell">[m_4PSA_Software1]</td>
</tr>
<tr>
	<td class="plabelcell">[m_4PSA_Software2]</td>
</tr>
<tr>
	<td class="plabelcell">[m_4PSA_Software3]</td>
</tr>
<tr>
	<td class="plabelcell">[m_4PSA_Software4]</td>
</tr>
<tr>
	<td class="plabelcell">[m_4PSA_Software5]</td>
</tr>
</td>
  </tr>
</table>

Link to comment
https://forums.phpfreaks.com/topic/46864-question-about-forms/#findComment-228552
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.