BioEye
Junior Member
Add more Funk
Posts: 266
inherit
60920
0
Jan 16, 2010 9:46:02 GMT -8
BioEye
Add more Funk
266
October 2005
rob332
|
Post by BioEye on Nov 23, 2009 11:21:45 GMT -8
Currently, if a post is really short, it's very noticeable that the signature is inserted just after the last line of text. This leaves a small space between the text in the post and the signature, and a large space below the signature. Is there any way to move the signature to the very bottom of a post? Thanks.
|
|
#00AF33
14306
0
1
Sept 8, 2023 8:54:17 GMT -8
Jordan
What is truth?
11,838
October 2003
jab2
|
Post by Jordan on Nov 23, 2009 19:50:59 GMT -8
Unless I'm missing something, the signature is already as far down in the post as it can go.
|
|
inherit
100824
0
May 13, 2012 5:37:49 GMT -8
Michael
14,585
March 2007
wrighty
|
Post by Michael on Nov 24, 2009 13:33:40 GMT -8
Currently, if a post is really short, it's very noticeable that the signature is inserted just after the last line of text. This leaves a small space between the text in the post and the signature, and a large space below the signature. Is there any way to move the signature to the very bottom of a post? Thanks. What is causing that is that The mini-profile is wider than the actual post. I guess you could code up a system to make it so that the post is split into 2 cells, with signature in the bottom one - valigned to bottom. And then that MIGHT fix it. But the coding time isn't worth it in my opinion
|
|
BioEye
Junior Member
Add more Funk
Posts: 266
inherit
60920
0
Jan 16, 2010 9:46:02 GMT -8
BioEye
Add more Funk
266
October 2005
rob332
|
Post by BioEye on Nov 29, 2009 19:08:28 GMT -8
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,022
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Nov 29, 2009 20:02:53 GMT -8
You'll probably need to supply the URL to a thread where this is occurring so the reason why valign="bottom" is not being honored can be investigated.
If you're noticing it in a specific browser then that information would be needed as well. I just viewed a couple threads on your forum in both IE and FF and didn't see this problem on single line posts.
|
|
BioEye
Junior Member
Add more Funk
Posts: 266
inherit
60920
0
Jan 16, 2010 9:46:02 GMT -8
BioEye
Add more Funk
266
October 2005
rob332
|
Post by BioEye on Nov 30, 2009 16:08:43 GMT -8
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,022
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Nov 30, 2009 18:46:12 GMT -8
Unfortunately I don't currently have Safari installed but I viewed the thread using Google Chrome which uses the same rendering engine as Safari and saw the problem. I admit I've seen this before in Safari but it never bothered me enough to investigate. It seems WebKit (the engine) isn't honoring height="100%" if the parent element also has a height specified in percent. This is nothing code related it has to do with the basic layout of Proboards' posts. I whipped up a code to the address the problem which seems to work in Chrome but as I said I have no way to test Safari. Edit: see post #14 in this thread for an updated code<script type="text/javascript"> <!-- (function(){ /* Fix Safari/Chrome signature alignment */ var e,t,o,n if(navigator.userAgent.match(/webkit/i)){ for(e=document.getElementsByTagName('hr'),t=0;t<e.length;t++){ if(e[t].className.match(/\bhr\b/) && e[t].parentNode.nodeName=='FONT' && (o=e[t].offsetParent) && o.colSpan && o.colSpan==3 && o.vAlign && o.vAlign.match(/bottom/i)){ n=o.offsetParent; n.style.height=n.offsetParent.offsetHeight; } } }})() // --> </script> If it truly bothers you then try the code but I'm sure Safari/Chrome users are quite used to the problem and probably do't even notice it anymore since it's been around for quite some time.
|
|
inherit
tunesrcoolii@gmail.com
86185
0
Oct 3, 2013 8:48:20 GMT -8
tunescool
4,399
August 2006
tunescool
|
Post by tunescool on Nov 30, 2009 19:10:49 GMT -8
eton i have the same problem, ive addressed it, you have seen it, neglected it, which is unlike you, i tried the code it didnt solve the problem, maybe it mite work if it is moved around. its a problem and safari/chrome users im sure are still annoyed by it
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,022
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Nov 30, 2009 19:23:27 GMT -8
I don't recall you ever bringing this up Tunescool Can you link me to a thread where this is happening in Safari/Chrome and the code is installed?
|
|
inherit
tunesrcoolii@gmail.com
86185
0
Oct 3, 2013 8:48:20 GMT -8
tunescool
4,399
August 2006
tunescool
|
Post by tunescool on Nov 30, 2009 19:41:13 GMT -8
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,022
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Nov 30, 2009 19:56:47 GMT -8
recheck that link since it's pointing to this very thread... Edit:
I did a search of your recent posts and found this Even with the picture the problem you were describing wasn't very clear. When I see ambiguous descriptions like that I usually ask the person to clarify but in that case since Todge was handling the request I merely added info I thought would be helpful. Todge is more than capable of addressing the support issues. If you've already addressed the issue then I'm confused as to why you would use the code in this thread since the signatures containers on your forum would be undoubtedly modified and therefore not work with this code. [rant]I'm really starting to hate these New Orleans Saints[/rant]
|
|
inherit
tunesrcoolii@gmail.com
86185
0
Oct 3, 2013 8:48:20 GMT -8
tunescool
4,399
August 2006
tunescool
|
Post by tunescool on Dec 1, 2009 2:15:35 GMT -8
whatever, if you can fix the problem fix it
|
|
BioEye
Junior Member
Add more Funk
Posts: 266
inherit
60920
0
Jan 16, 2010 9:46:02 GMT -8
BioEye
Add more Funk
266
October 2005
rob332
|
Post by BioEye on Dec 1, 2009 5:29:41 GMT -8
Massive thanks to Eton Bones for that code. I found it worked after I put it at the very bottom of my Global Footer. Thank you so much! It makes forums look a lot neater.
|
|
inherit
tunesrcoolii@gmail.com
86185
0
Oct 3, 2013 8:48:20 GMT -8
tunescool
4,399
August 2006
tunescool
|
Post by tunescool on Dec 1, 2009 7:24:30 GMT -8
it wont work for me, ive tried it 3 different plaes at the bottom of my footers, ill try again later
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,022
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Dec 1, 2009 9:44:46 GMT -8
whatever, if you can fix the problem fix it good luck with that... Massive thanks to Eton Bones for that code. I found it worked after I put it at the very bottom of my Global Footer. Thank you so much! It makes forums look a lot neater. You're welcome Edit:
Even though the request specifically asks for signatures to be vertically aligned bottom, it occured to me that it might not look right if posts not containing signatures were left with their last edit/ip cells still aligned top, so I rewrote the code to apply the patch to posts without signatures as well: <script type="text/javascript"> <!-- (function(){ /* Fix Safari/Chrome signature alignment */ var e,t,o,n if(navigator.userAgent.match(/webkit/i) && document.body.innerHTML.match(/alt="IP:/)){ for(e=document.getElementsByTagName('table'),t=0;t<e.length;t++){ if(e[t].width=="100%" && e[t].parentNode.vAlign=="bottom" && e[t].parentNode.colSpan && e[t].parentNode.colSpan==3 && e[t].innerHTML.match(/alt="IP:/)){ o=e[t].parentNode.offsetParent;n=o.parentNode.offsetHeight; o.style.height=n+"px"; } } } })() // --> </script>
|
|