form size changed when render to browser

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

xren
Ebase User
Posts: 272
Joined: Fri Dec 14, 2012 2:55 pm
Location: Ottawa

form size changed when render to browser

#1

Postby xren » Fri Jan 18, 2013 3:12 pm

Hi,

My form size changed suddenly when display in browser.
Before, it was at the center of the browser. Now it expanded to the whole browser space. I don't know why. I would like it to back to original size.

Thanks for any advice.
Xiaoli
0 x

User avatar
Wai
Moderator
Moderator
Posts: 165
Joined: Wed Sep 12, 2007 9:04 am
Location: Sandy, UK
Contact:

#2

Postby Wai » Fri Jan 18, 2013 4:16 pm

Hi Xiaoli,

Did you make any changes to your styles or attach a new stylesheet to the presentation template or form?

On the Page control of your form, check it's control styles. What value does it have for width?
And what value is set for Page Alignment?[/b]
0 x

xren
Ebase User
Posts: 272
Joined: Fri Dec 14, 2012 2:55 pm
Location: Ottawa

#3

Postby xren » Fri Jan 18, 2013 4:59 pm

I did not change presentation template, no changes on the style sheet either.
The page control width is: Maximum (use parent width)

The page alignment is blank.
0 x

User avatar
Wai
Moderator
Moderator
Posts: 165
Joined: Wed Sep 12, 2007 9:04 am
Location: Sandy, UK
Contact:

#4

Postby Wai » Mon Jan 21, 2013 12:23 pm

If you want the page to be centralized, somewhere you will need to set the width of the page, typically this will be set on the HTML body element (in Ebase this is the Page control).

So, does this page have any Class or ID associated with it? Check HTML Element properties, and also check Control Styles (Advanced button).

If there are no styles associated to the page control, then you can centralize the page as follows (example values):

Width: 1024px
Page Alignment: Center

Something must have changed though if it was working before and not anymore. Let me know how you get on.
0 x

xren
Ebase User
Posts: 272
Joined: Fri Dec 14, 2012 2:55 pm
Location: Ottawa

#5

Postby xren » Mon Jan 21, 2013 6:46 pm

it works now. some how, the style sheet for that panel disappeared. I put it back. Then it works now.

Thanks,
Xiaoli
0 x


Who is online

Users browsing this forum: Bing [Bot] and 36 guests