NetTalk Central

Author Topic: How do I remove space between radio and browse on a memory form  (Read 4930 times)

Robert Iliuta

  • Sr. Member
  • ****
  • Posts: 472
    • View Profile
    • Email
How do I remove space between radio and browse on a memory form
« on: September 30, 2013, 02:59:54 AM »
Hallo,


I have the bellow scenario:

one memory form with a radio for 10 options and 10 browse. Every browse is hide and will unhide based on radio selection. Everything works ok. The problem is if I select first radio the browse will show normally but then if I select the last browse it will appear 10 spaces bellow....I attached photo.
It looks like the rest of the browse produce a space like (<br />)
How can I avoid this? It's a trick?

Thank you,
Robert

[attachment deleted by admin]

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11242
    • View Profile
Re: How do I remove space between radio and browse on a memory form
« Reply #1 on: October 03, 2013, 02:26:24 AM »
is the page online where I can examine the css?

Robert Iliuta

  • Sr. Member
  • ****
  • Posts: 472
    • View Profile
    • Email
Re: How do I remove space between radio and browse on a memory form
« Reply #2 on: October 03, 2013, 09:44:45 AM »
no it's not online, but I could send you a small example to test.
Thank you,
Robert

Robert Iliuta

  • Sr. Member
  • ****
  • Posts: 472
    • View Profile
    • Email
Re: How do I remove space between radio and browse on a memory form
« Reply #3 on: October 26, 2013, 11:29:18 AM »
Halo Bruce,

Example attached.
Just play with radio buttons and you will see the difference when you select Browse1, 2 and 3...

Also is there a way to implement a memory form with 12 tabs and every tab with a browse. And when I load that form tables load only when I select that tab. Is this possible now? Because when I test it will load all tabs once when I open the form ... and this way I choose radio...

thank you,
Robert

[attachment deleted by admin]

bshields

  • Sr. Member
  • ****
  • Posts: 392
    • View Profile
    • Inhabit
    • Email
Re: How do I remove space between radio and browse on a memory form
« Reply #4 on: October 27, 2013, 06:09:51 PM »
Hi Robert,

Even when a browse is hidden there is still a containing DIV, and depending upon where you are doing it maybe even some table elements like <TR>s. Use Inspect Element (or similar) on your browser to find the offending elements and then see if you cannot adjust the CSS to remove things like padding and margins.

Regards
Bill Shields

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11242
    • View Profile
Re: How do I remove space between radio and browse on a memory form
« Reply #5 on: October 27, 2013, 10:02:36 PM »
Hi Robert,
mostly what Bill says - it can be done with CSS.
However in 7.28 I've added a bit of code to reduce the effect to almost nothing. So try with that and see what it looks like.

cheers
Bruce

Robert Iliuta

  • Sr. Member
  • ****
  • Posts: 472
    • View Profile
    • Email
Re: How do I remove space between radio and browse on a memory form
« Reply #6 on: October 27, 2013, 10:45:19 PM »
Yes, I know it can be done with CSS but this issue must be corrected and should work by default.
Thanks Bruce for solving this in next update,
Robert

Robert Iliuta

  • Sr. Member
  • ****
  • Posts: 472
    • View Profile
    • Email
Re: How do I remove space between radio and browse on a memory form
« Reply #7 on: October 28, 2013, 08:56:31 AM »
Updated to 7.28 and I can still see small difference...
Thanks,
Robert

Robert Iliuta

  • Sr. Member
  • ****
  • Posts: 472
    • View Profile
    • Email
Re: How do I remove space between radio and browse on a memory form
« Reply #8 on: November 19, 2013, 10:54:02 AM »
Hallo!

Anyone can help me to fix this issue?
I look in firebug and I see some <tr> elements but have no idea how to remove that...this happen in runtime so what and how to remove? :o)

Appreciate any help on this one.

Regards,
Robert

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11242
    • View Profile
Re: How do I remove space between radio and browse on a memory form
« Reply #9 on: November 19, 2013, 09:50:36 PM »
>> Updated to 7.28 and I can still see small difference...

yes, the TR still exists (it has to) and is about 1 or 2 pixels high I think. Is that a problem?

cheers
Bruce

Robert Iliuta

  • Sr. Member
  • ****
  • Posts: 472
    • View Profile
    • Email
Re: How do I remove space between radio and browse on a memory form
« Reply #10 on: November 21, 2013, 07:00:55 AM »
Hallo Bruce,

solved!!!

Thank you for help,
Regards,
Robert