NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: osquiabro on February 18, 2013, 03:42:32 PM
-
hi , i have a problem with mobile setting, i check a vertical setting in form but only work with desktop no for mobile..
-
any idea for this???
-
any chance you can post an example?
-
see attach..
[attachment deleted by admin]
-
Hi Osquiabro,
ok, I see what's happening. The way Mobile fields are generated is slightly different to desktop fields, and this effectively negates the "vertical" setting. There is however a fix;
Version 7.05 and earlier;
a) Create a custom css file in your styles folder. Let's call it
CustomMobile.Css
In this file put
.nt-prompt{
float:none;
}
b) Add this file to the files list -
WebServer Procedure / Settings / Styles / Files / Css Style Files /
Tick "Mobile" on, but "Desktop" off, so it's only included in the mobile version.
That should solve the problem.
cheers
Bruce
-
thanks work,
but another question is possible to chance this setting in runtime? i need the form vertical in mobile mode and horizontal in desktop..
-
As per Bruce's post, there should be an option to Tick "Mobile" on and "Desktop" off for that css file, so it's only included in the mobile version.
-
yes, if you tick it _off_ in the app, but add the CSS in mobile mode, then it should do what you want.
cheers
Bruce
-
ok, sorry the problem occurs when use Span Columns in a form, the fields not aligned in desktop mode,
but if use css for mobile with desktop the aligned is correct.
see the attachment..
[attachment deleted by admin]
-
Span columns is a different setting completely, and performs a different job.
And yes, it'll change the alignment of the fields in desktop mode (that's what it does).
What are you trying to use it for?
cheers
Bruce