Attention About stretching posts (Read 1038 times)

  • Avatar of DS
  • DragonSlayer o_O
  • PipPipPipPipPipPipPipPip
  • Group: Member
  • Joined: Jul 7, 2002
  • Posts: 2668
We tried to fix this with scrollbars but since everyone didn't like it and it had some problems and bugs with different browsers, we removed the feature.

That's why I want to request something. This isn't a rule but I recommend you do this. If your post will stretch the page on 1024*768 resolution, USE THE HIDE TAG because otherwise your post will make viewing the page very annoying. This isn't absolutely necessary if your post stretches the page by a bit but use it as much as possible for easier viewing. We'll see what we can do about the whole stretching problem but this might be the permanent solution as well so get used to this for now.

For those who don't know how the hide tag works:
[hide][/hide]
To Never Be Known Is The Worst Death
  • Avatar of dada
  • VILLAIN
  • PipPipPipPipPipPipPipPip
  • Group: Administrator
  • Joined: Dec 27, 2002
  • Posts: 5531
I bet it's because of Internet Explorer. The experimental Rails dating site that I'm working on has div style="overflow-y: auto" and in Internet Explorer it just IGNORES IT!
  • Avatar of Jeff
  • Warning: Harsh
  • PipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: Jun 5, 2003
  • Posts: 1461
I don't see why there is any case you would post a picture that stretches in 1024x768. I mean, the whahay uploader won't take it most likely, so you are either leeching or just being a prick by not resizing it. Even in photoshop topics it hasn't really come up, so I don't see why we should allow massive images at all without a direct link rather than posting in topic.
  • Avatar of DS
  • DragonSlayer o_O
  • PipPipPipPipPipPipPipPip
  • Group: Member
  • Joined: Jul 7, 2002
  • Posts: 2668
I don't see why there is any case you would post a picture that stretches in 1024x768. I mean, the whahay uploader won't take it most likely, so you are either leeching or just being a prick by not resizing it. Even in photoshop topics it hasn't really come up, so I don't see why we should allow massive images at all without a direct link rather than posting in topic.
There are many cases like this. Guess the game topic is a good example. Or some other screenshot topic. And text can stretch the page too, not just images. I personally prefer when I don't have to click a link to open an image in a new window. Even without this stretching problem, hide tag is great for images.
Last Edit: February 20, 2006, 07:14:50 pm by DragonSlayer
To Never Be Known Is The Worst Death
  • Avatar of Mateui
  • GW Staff: Article Alcoholic (Current Mood: Happy!)
  • PipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: Aug 20, 2002
  • Posts: 1685
Is there any reason why some topics randomly seem to stretch for no reason, while others do not?

For example, I don't know about you, but this topic: http://www.gamingw.net/forums/index.php?topic=41522.0 stretches for me, even though there's nothing there that should stretch the page width.

[EDIT: ][/EDIT:]
Last Edit: February 20, 2006, 07:42:21 pm by Mateui
  • Avatar of DS
  • DragonSlayer o_O
  • PipPipPipPipPipPipPipPip
  • Group: Member
  • Joined: Jul 7, 2002
  • Posts: 2668
I already told you in the site feedback forum, it is because of Stormshadow's custom title.

Opera for the win aightttt
To Never Be Known Is The Worst Death
  • Avatar of big ass skelly
  • Ò_Ó
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: Oct 12, 2002
  • Posts: 4313
site best bviewed inopera web browesrs experience 10254x768
  • Avatar of Shepperd
  • MUSULMAEN
  • PipPipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: Apr 23, 2004
  • Posts: 2618
oh man thanks god you removed this feature
  • Avatar of Mateui
  • GW Staff: Article Alcoholic (Current Mood: Happy!)
  • PipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: Aug 20, 2002
  • Posts: 1685
Ok I see then. I guess Firefox isn't so good as they say afterall ;_;

I have Opera, except I just don't like to use it. I guess if side-scrolling bothers me too much I'll just browse the forums with Opera and get used to it.
  • Avatar of lassekongo83
  • Ta en sup eller 2 :)
  • Group: Member
  • Joined: Dec 6, 2001
  • Posts: 63
CTRL + F11 in Opera is the best. :D

Btw, I found this Greasemonkey script for Firefox users. It stops page widening caused by code and img tags on a phpbb forum I visit.

// Sweclockers page widening fix

// version 0.6

// 2005-05-23 Sebastian Jansson

// License: Creative Commons Attribution-NonCommercial-ShareAlike License

// http://creativecommons.org/licenses/by-nc-sa/2.0/

// --------------------------------------------------------------------

//

// ==UserScript==

// @name          Sweclockers page widening fix

// @namespace     http://jonex.1go.dk/greasemonkey/

// @description   Stops page widening caused by code and img tags.

// @include       http://forum.sweclockers.com/*

// ==/UserScript==

function addGlobalStyle(css) {

    var head, style;

    head = document.getElementsByTagName('head')[0];

    style = document.createElement('style');

    style.type = 'text/css';

    style.innerHTML = css;

    head.appendChild(style);

}



function addFixStyles() {

    var maxwidth = window.innerWidth - 250;

    var css = "\

    blockquote  {margin: 1em 0.5em 1em 1.5em; padding: 0;}\n\

    pre         { overflow: auto; max-width: 500px; }\n\

    img         { max-width: 500px; }";

    addGlobalStyle(css);

}



function addFixScript(){

    var head, script;

    head = document.getElementsByTagName('head')[0];

    script = document.createElement('script');

    script.type = 'text/javascript';

    script.innerHTML ="\

    function fixWidth() {\n\

        var maxwidth = window.innerWidth - 244;\n\

        var fixRules = document.styleSheets[1].cssRules;\n\

        fixRules[1].style.maxWidth = maxwidth;\n\

        fixRules[2].style.maxWidth = maxwidth;\n    }";

    head.appendChild(script);

}



function fixWidth() {

    var maxwidth = window.innerWidth - 244;

    var fixRules = document.styleSheets[1].cssRules;

    fixRules[1].style.maxWidth = maxwidth;

    fixRules[2].style.maxWidth = maxwidth;

}



//Executes at start:

document.getElementsByTagName('body')[0].setAttribute('onResize','fixWidth();');

addFixStyles();

addFixScript();

fixWidth();

I belive it must be modified. But I leave that to someone with better javascript knowledge than me.
Last Edit: February 21, 2006, 01:44:11 pm by lassekongo83
My Art

  • I disdain mrons.
  • PipPipPipPipPip
  • Group: Premium Member
  • Joined: Aug 16, 2004
  • Posts: 640
Long URLs seem to stretch the pages too.  I believe it is because SMF doesn't automatically shorten them like vB did.  Here's what I mean:

[url=http://aaaaaaaaaaaaaaaaaaaaaaaa.com]aaaaaaa...[/url]

Example.
  • Avatar of DS
  • DragonSlayer o_O
  • PipPipPipPipPipPipPipPip
  • Group: Member
  • Joined: Jul 7, 2002
  • Posts: 2668
that just means some people should learn to use URL tags. :(
To Never Be Known Is The Worst Death
  • I disdain mrons.
  • PipPipPipPipPip
  • Group: Premium Member
  • Joined: Aug 16, 2004
  • Posts: 640
Yeah, like that will happen.
  • Avatar of Kaworu
  • kaworu*Sigh*Isnt he the cutest person ever
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: Oct 12, 2002
  • Posts: 5755
I changed my thing this morning, so I am not Dr. Evil or anything... ok?
  • Avatar of Belross
  • Dreamer
  • PipPipPipPipPip
  • Group: Premium Member
  • Joined: Feb 10, 2002
  • Posts: 781
Is there a way to automatically resize pictures in posts to prevent them from stretching a page? Then you could click on the image to see the full-sized version.
0-------0
|Belross|
0-------0
  • Avatar of hobo2
  • guns or swords?
  • PipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: Jan 18, 2004
  • Posts: 1018
Is there a way to automatically resize pictures in posts to prevent them from stretching a page? Then you could click on the image to see the full-sized version.

Wasn't there someone suggesting the use of that in the Site Feedback Forum a while back, but people were saying that it's not needed or anything?
  • Avatar of DS
  • DragonSlayer o_O
  • PipPipPipPipPipPipPipPip
  • Group: Member
  • Joined: Jul 7, 2002
  • Posts: 2668
There was, and it was not needed then. It could be useful now though.
To Never Be Known Is The Worst Death
  • Avatar of Lenny
  • SSJ6
  • PipPipPip
  • Group: Member
  • Joined: Mar 20, 2004
  • Posts: 308
How about just linking pics that are too big :/
  • Avatar of DS
  • DragonSlayer o_O
  • PipPipPipPipPipPipPipPip
  • Group: Member
  • Joined: Jul 7, 2002
  • Posts: 2668
i don't like clicking links

hide tag > links

If you prefer links, no one is stopping you from using links instead of hide tag though!!
To Never Be Known Is The Worst Death
  • Avatar of reko
  • PipPipPipPipPipPip
  • Group: Member
  • Joined: Jun 11, 2002
  • Posts: 883
I took some time to modify the template..
Now only the post that is too long will stretch.
All other posts will not stretch.

Plus I also found out that there was one extra closing div tag in end of each post, which I think was causing the weird bug in FireFox that sometimes made sigs/etc. span to next post.
Last Edit: February 22, 2006, 01:19:14 am by ramirez

big thanx to dragonslayer for sig!
Locked