Page 1 of 1

Setting page height for browser.

Posted: Wed Mar 27, 2019 2:53 am
by lawrencejamerson
Is there a way to specify page height that a browser will follow? My page keeps scrolling past the end. I would like it to stop when the content ends. I can't find any setting other than the workspace. Thanks.
www.lonestarhypnosis.com

Re: Setting page height for browser.

Posted: Wed Mar 27, 2019 3:49 am
by bkjohns
Sounds like you have a hidden object somewhere at the bottom.

Re: Setting page height for browser.

Posted: Wed Mar 27, 2019 7:03 am
by Pablo
The page size is determined by the content of the page.
In this case the length is caused by 'Text9'

See also 'There is a large is empty space at the bottom (or right side) of my page' in the FAQ:
viewtopic.php?f=10&t=63817

Re: Setting page height for browser.

Posted: Wed Mar 27, 2019 6:41 pm
by lawrencejamerson
Pablo wrote: Wed Mar 27, 2019 7:03 am The page size is determined by the content of the page.
In this case the length is caused by 'Text9'
Thanks. I don't see any hidden object. I notice the breakpoints for mobile devices the page ends fine. It is the browser where it continues. Is there a way to stop it like I see on most websites? I can't find anything on this forum.
What is the Text9? Is that a setting I can change? Thanks

Re: Setting page height for browser.

Posted: Wed Mar 27, 2019 6:49 pm
by lawrencejamerson
Okay, tex9 9 is the textbox to fit the breakpoint for a phone. It is hidden in the other breakpoints. Does hiding it not effect page height?
Also the page seems to extend a lot further than the text9 box - like twice as far.
I note the text boxes are far longer than the text they contain. If I alter the size they automatically resize back again. Can that be tweaked?
Thanks

Re: Setting page height for browser.

Posted: Wed Mar 27, 2019 6:54 pm
by BaconFries
Text9 is the following text below starting with...
"We hope you will join the successful thousands who...."

Re: Setting page height for browser.

Posted: Wed Mar 27, 2019 7:12 pm
by Pablo
Did you read the FAQ?
'There is a large is empty space at the bottom (or right side) of my page':
viewtopic.php?f=10&t=63817

Re: Setting page height for browser.

Posted: Wed Mar 27, 2019 11:31 pm
by lawrencejamerson
Thank you, it makes sense now.
However, text11 - the box extends about 20 lines after the text finishes, which means this box now goes below the page bottom. Is there a way to make the text boxes hug the text more closely rather than have all that blank space?

Re: Setting page height for browser.

Posted: Thu Mar 28, 2019 7:13 am
by Pablo
Text boxes do not add extra space automatically.
Maybe you have accidentally inserted the empty lines yourself?

To be able to help you I need a copy of the project file.

Related FAQ:
viewtopic.php?f=10&t=82134

Re: Setting page height for browser.

Posted: Thu Mar 28, 2019 6:34 pm
by lawrencejamerson
Ok here is the link. I just did the first page. Every text box (when not editing) seems to be far bigger than the text space. I have used minus-padding to try to keep it within the page area I want to display. Thanks

https://www.dropbox.com/sh/vz0mg70s6q76 ... _WH6a?dl=0

Re: Setting page height for browser.

Posted: Thu Mar 28, 2019 6:44 pm
by Pablo
I'm sorry, but negative padding values are not allowed.
https://www.w3schools.com/cssref/pr_padding.asp

When I remove the padding from your text boxes displays correct on my computer.
Maybe you will need to the change High DPI support in Tools->Options->User Interface?

Re: Setting page height for browser.

Posted: Fri Mar 29, 2019 7:07 pm
by lawrencejamerson
I am confused now. The negative padding definitely seemed to make the page extra space less.
Without the high DPI support the text grows many times.
Maybe this screenshot better explains when you see the text box. The blue lines extending way past the text end (unless I am wring in it). You mentioned before that it was the text box extending beyond the bottom of the page causing the problem.
https://www.dropbox.com/s/zbbe1y7dd7vjd ... r.JPG?dl=0

Re: Setting page height for browser.

Posted: Fri Mar 29, 2019 7:11 pm
by Pablo
I am confused now. The negative padding definitely seemed to make the page extra space less.
I'm sorry, this is not correct. HTML does not allow negative padding. It may work, but it is not correct.
Without the high DPI support the text grows many times.
Did you try with High DPI support enabled?
I am pretty sure this is somehow related to the DPI of your computer.

Re: Setting page height for browser.

Posted: Mon Apr 01, 2019 5:41 pm
by lawrencejamerson
Yes, I have to have the high DPI enabled or I can't see anything properly. However, when I look at this on my old computer (low DPI) it is the same - ie the text boxes are longer than the text.

Is there a way to set or footer to specify the end of the page?

Re: Setting page height for browser.

Posted: Mon Apr 01, 2019 5:55 pm
by Pablo
A page footer can be set to an absolute position to force a fixed page height.

Re: Setting page height for browser.

Posted: Tue Apr 02, 2019 1:34 am
by lawrencejamerson
Thanks, but how do I accomplish that. I see no options in the menus.

Re: Setting page height for browser.

Posted: Tue Apr 02, 2019 6:00 am
by Pablo
- Insert a Page Footer
- Mode: default

Re: Setting page height for browser.

Posted: Wed Apr 03, 2019 6:42 am
by lawrencejamerson
Okay, so I insert a footer. But the page in the browser scrolls right past the footer. Is there a way to force it to end the page so it stops there? Thanks

Re: Setting page height for browser.

Posted: Wed Apr 03, 2019 7:45 am
by Pablo
But the page in the browser scrolls right past the footer
This means that there is content below the footer.
The browser will make the page as long as the content of the page.

Please see 'There is a large is empty space at the bottom (or right side) of my page':
viewtopic.php?f=10&t=63817

Re: Setting page height for browser.

Posted: Wed Apr 03, 2019 4:58 pm
by lawrencejamerson
But there is really nothing there - you saw the page.
Even if I delete the text boxes that are larger than the text, it still does it on the default view. However the breakpoints for mobile devices work fine.
I guess I also still don't understand why the text boxes are so much larger than the text (unless I do the negative padding which you said I should not)

Re: Setting page height for browser.

Posted: Wed Apr 03, 2019 5:18 pm
by Pablo
I am sure there are still objects outside the boundaries. It cannot be anything else.
Can you please share the project again and describe exactly where to look?

Re: Setting page height for browser.

Posted: Wed Apr 03, 2019 7:57 pm
by lawrencejamerson
Yes, here is the link again:
https://www.dropbox.com/home/office/web ... HS-1stpage

Note that text 9 has an extremely long measurement outside the actual text. It literally double in size when I am not working in it. But when I delete the text box the issue is resolved. So the problem seems to be this doubling in size of the text box. If I try to adjust the dimensions it simply jumps back to how it was before

Re: Setting page height for browser.

Posted: Wed Apr 03, 2019 8:16 pm
by Pablo
I could not download the file, it asks for a username/password to log in.
So the problem seems to be this doubling in size of the text box.
I still think this is related to a DPI setting of your system.

Maybe you have set application specific settings?
- right click the executable in Windows Explorer
- click 'Compatibility'.
- Change 'high DPI settings'

Re: Setting page height for browser.

Posted: Wed Apr 03, 2019 11:51 pm
by lawrencejamerson
Sorry
https://www.dropbox.com/sh/vz0mg70s6q76 ... _WH6a?dl=0

I noticed the box seemed to fix when I changed it to a responsive font setting - but by the font enlarging to fill up the extended box. But then the font size was not desirable so I switched back to a fixed size.

Adjusting the compatibility with window DPI support made no change whatsoever. If I remove high DPI in WYSIWYG and then resize every text box it seems to fix the problem, but that will take hours and hours. What is it that high DPI support does?

Re: Setting page height for browser.

Posted: Thu Apr 04, 2019 3:22 am
by bkjohns
For some reason when I open your .wbs file, the handles for Text11 don't extend to the bottom of the text block - the bottom ones are about midway in the middle of the text. I copied and pasted the text into a new text box and that corrected that problem, but none of the links from the original text block copied over (I am assuming they were links, blue text with underlines).
Another question regarding this is I don't see that this is a responsive design (flexbox or layout grid and such), so you can get rid of the white space by bringing up the blue colored shapes and the black footer manually, but an image placeholder is below the text so you can only go up so far with it. Did I miss a responsive element somewhere?

Re: Setting page height for browser.

Posted: Thu Apr 04, 2019 8:45 am
by lawrencejamerson
Okay, follow-up. Changing the windows compatibility DPI for the WYSIWYG exe helps now. As in this post: viewtopic.php?f=5&t=84379&p=422006&hili ... rt#p422006

But I have to click in the text boxes in order for them to "reformat". And open and close the program twice (clears some cache maybe??). If I only open it once not all the default pages work, even though the breakpoints for tablet and phone all are correct.

I think this might be solved.

Re: Setting page height for browser.

Posted: Thu Apr 04, 2019 8:52 am
by Pablo
The application does not have any cache. But yoi may need to restart your computer or logout before the DPI settings take affect.