Text overflow should give a scroll bar, does not fit to page - any ideas
https://www.theglobeandmail.com/canada/ ... ng-canada/
Text overflows right side of page - no scroll bar shows up
-
- Posts: 809
- Joined: December 13th, 2007, 8:54 am
- Location: Vancouver Island BC
- Contact:
- ElTxolo
- Posts: 2811
- Joined: July 30th, 2007, 9:35 am
- Location: Localhost
Re: Text overflows right side of page - no scroll bar shows
Rob_S wrote:Text overflow should give a scroll bar, does not fit to page - any ideas
https://www.theglobeandmail.com/canada/ ... ng-canada/
- I have exactly the same problem, as you mentioned, when visiting that page.
However, you can use a bookmarklet, (> 'Fit to Width') to solve the problem:
Code: Select all
javascript:(function(){function%20t(f){a=d.createNodeIterator(d,1,f,false);while(a.nextNode()){}}var%20d=document;t(function(e){x=e.offsetLeft;l=e.offsetParent;while(l!=null){x+=l.offsetLeft;l=l.offsetParent}var%20w=d.documentElement.clientWidth-x;var%20s=e.style;if(s.marginLeft)w-=s.marginLeft;if(s.marginRight)w-=s.marginRight;if(s.paddingLeft)w-=s.paddingLeft;if(s.paddingRight)w-=s.paddingRight;if(s.borderSize)w-=s.borderSize;w-=d.defaultView.innerWidth-d.documentElement.offsetWidth;if(e.tagName=='IMG'){h=e.clientHeight*w/e.clientWidth;s.maxHeight=h}s.maxWidth=w+'px'})})();
Cheers!!
How to Ask Questions The Smart Way - How to Report Bugs Effectively
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20240318 SeaMonkey/2.53.18.2
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20240416 SeaMonkey/2.53.19
~
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20240318 SeaMonkey/2.53.18.2
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20240416 SeaMonkey/2.53.19
~
-
- Posts: 809
- Joined: December 13th, 2007, 8:54 am
- Location: Vancouver Island BC
- Contact:
Re: Text overflows right side of page - no scroll bar shows
OK, so being a bit unsure how to use this code, I pasted it into the url properties of a new bookmark, and clicked it after loading the overflowing page, and it centred everything to fit!!!
Wow, and thanks!! Might save me a few trips over the Edge....
Wow, and thanks!! Might save me a few trips over the Edge....
- ElTxolo
- Posts: 2811
- Joined: July 30th, 2007, 9:35 am
- Location: Localhost
Re: Text overflows right side of page - no scroll bar shows
Rob_S wrote:OK, so being a bit unsure how to use this code, I pasted it into the url properties of a new bookmark, and clicked it after loading the overflowing page, and it centred everything to fit!!!
Wow, and thanks!! Might save me a few trips over the Edge....
Cheers!!
How to Ask Questions The Smart Way - How to Report Bugs Effectively
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20240318 SeaMonkey/2.53.18.2
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20240416 SeaMonkey/2.53.19
~
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20240318 SeaMonkey/2.53.18.2
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20240416 SeaMonkey/2.53.19
~
- WaltS48
- Posts: 5141
- Joined: May 7th, 2010, 9:38 am
- Location: Pennsylvania, USA
Re: Text overflows right side of page - no scroll bar shows
The page centers using Firefox, but overflows in my SeaMonkey, so I just used autoscrolling.
Edit > Preference > Appearance > Content > Scrolling and enable it.
Edit > Preference > Appearance > Content > Scrolling and enable it.
Linux Desktop - AMD Athlon(tm) II X3 455 3.3GHz | 8.0GB RAM | GeForce GT 630
Windows Notebook - AMD A8 7410 2.2GHz | 6.0GB RAM | AMD Radeon R5
Windows Notebook - AMD A8 7410 2.2GHz | 6.0GB RAM | AMD Radeon R5
- ElTxolo
- Posts: 2811
- Joined: July 30th, 2007, 9:35 am
- Location: Localhost
Re: Text overflows right side of page - no scroll bar shows
WaltS48 wrote:The page centers using Firefox
- Nobody gives a damn about how it looks in firefox. Because, here we are talking about a problem, in the SeaMonkey forum.
WaltS48 wrote: [....] but overflows in my SeaMonkey, so I just used autoscrolling.
Edit > Preference > Appearance > Content > Scrolling and enable it.
- are you talking about?
Even if you use autoscrolling, the text and images are cut off, and are not displayed correctly.
However, using the bookmarklet, the page is perfectly centered at any screen resolution.
How to Ask Questions The Smart Way - How to Report Bugs Effectively
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20240318 SeaMonkey/2.53.18.2
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20240416 SeaMonkey/2.53.19
~
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20240318 SeaMonkey/2.53.18.2
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20240416 SeaMonkey/2.53.19
~
-
- Posts: 8779
- Joined: May 7th, 2007, 12:07 pm
Re: Text overflows right side of page - no scroll bar shows
It is interesting that the page works properly with Pale Moon, but overflows with SeaMonkey, considering that Goanna and Gecko are similar rendering engines. In fact, the page is good with the other browsers I have. The Fit to width bookmarklet works fine, though. What is so unique about SeaMonkey's rendering?