NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Robert Iliuta on September 30, 2013, 02:59:54 AM

Title: How do I remove space between radio and browse on a memory form
Post by: Robert Iliuta 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]
Title: Re: How do I remove space between radio and browse on a memory form
Post by: Bruce on October 03, 2013, 02:26:24 AM
is the page online where I can examine the css?
Title: Re: How do I remove space between radio and browse on a memory form
Post by: Robert Iliuta 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
Title: Re: How do I remove space between radio and browse on a memory form
Post by: Robert Iliuta 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]
Title: Re: How do I remove space between radio and browse on a memory form
Post by: bshields 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
Title: Re: How do I remove space between radio and browse on a memory form
Post by: Bruce 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
Title: Re: How do I remove space between radio and browse on a memory form
Post by: Robert Iliuta 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
Title: Re: How do I remove space between radio and browse on a memory form
Post by: Robert Iliuta on October 28, 2013, 08:56:31 AM
Updated to 7.28 and I can still see small difference...
Thanks,
Robert
Title: Re: How do I remove space between radio and browse on a memory form
Post by: Robert Iliuta 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
Title: Re: How do I remove space between radio and browse on a memory form
Post by: Bruce 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
Title: Re: How do I remove space between radio and browse on a memory form
Post by: Robert Iliuta on November 21, 2013, 07:00:55 AM
Hallo Bruce,

solved!!!

Thank you for help,
Regards,
Robert