HHawk Posted April 13, 2007 Share Posted April 13, 2007 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? Quote Link to comment https://forums.phpfreaks.com/topic/46864-question-about-forms/ Share on other sites More sharing options...
MadTechie Posted April 13, 2007 Share Posted April 13, 2007 Can you post some code, Quote Link to comment https://forums.phpfreaks.com/topic/46864-question-about-forms/#findComment-228453 Share on other sites More sharing options...
HHawk Posted April 13, 2007 Author Share Posted April 13, 2007 <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). Quote Link to comment https://forums.phpfreaks.com/topic/46864-question-about-forms/#findComment-228458 Share on other sites More sharing options...
MadTechie Posted April 13, 2007 Share Posted April 13, 2007 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> Quote Link to comment https://forums.phpfreaks.com/topic/46864-question-about-forms/#findComment-228552 Share on other sites More sharing options...
HHawk Posted April 14, 2007 Author Share Posted April 14, 2007 Thanks for your answer, but I use borders. Meaning if I use that and clients don't select all the options (e.g. just one) you get several lines, which makes it look thick. Dunno how to explain correctly. Any other ideas by any chance? Quote Link to comment https://forums.phpfreaks.com/topic/46864-question-about-forms/#findComment-229101 Share on other sites More sharing options...
MadTechie Posted April 14, 2007 Share Posted April 14, 2007 table within a table removing the first and last break look ok.. but i have no idea what the end result is maybe showing the page! Quote Link to comment https://forums.phpfreaks.com/topic/46864-question-about-forms/#findComment-229162 Share on other sites More sharing options...
HHawk Posted April 16, 2007 Author Share Posted April 16, 2007 Uhmz... I understand what you mean, though I have to make some changes to the CSS. Quote Link to comment https://forums.phpfreaks.com/topic/46864-question-about-forms/#findComment-230229 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.