Jump to content

Question about forms...


HHawk

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.