You are viewing limited content. For full access, please sign in.

Question

Question

Making my form page lay out Landscape!?

asked on November 20, 2015

I have been using my forms to create, the majority of the time, portrait layout forms. I am now trying to complete a Form in which the table width is large and need a number of columns (please see image).

 

My questions therefore is; Is it possible to simply change the layout of the form I am working on (attached) to a Landscape view? Doing this will enable me to have a larger amount of columns, which is the desired look.

 

Any help on the above would be greatly appreciated.

 

Christian

 

 

Horizontal Form Setup.JPG
0 0

Answer

SELECTED ANSWER
replied on November 20, 2015

You could simply set the width of the form by going to "Form Settings". This will simulate portrait but the forms are responsive so they will change depending on screen size.

3 0

Replies

replied on November 20, 2015

If your fields are in a table, which it looks like you've done, you can use the following css to make it wider:

 

.cf-form{overflow-x:scroll;}
#q1 .cf-table {width: 2000px;}

#q1 is whatever #q your table is, the width you'll have to play with until you get what you want. 

There is no native concept of Portrait or Landscape in web pages. HTML by default dynamically resizes to fit the width of the screen your are displaying unless something on that page says "I need to be bigger than your available space" which is what you are setting above by changing the width. so if you make something Xpx amount of space and X is larger than your browser window is currently you'll be presented with scroll bars.

 

The height works sort of the same way, except that it normally is set to make pages scroll automatically by adding more height. That's why if you make a web browser window smaller the page will get longer and longer as each paragraph of text wraps a little shorter.

 

CSS can override all of this, which is why on Laserfiche forms you can't normally make the width any smaller than 800px without getting a horizontal scrollbar too.  

0 0
replied on November 20, 2015

Hi Chris and Chris,

 

Many thanks for the speedy response! The suggestion by Chris Montealgre is the exact solution to my problem - so thank you!

 

Thanks also to Chris Hagen for the input.

 

Thanks

 

Christian 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.