View Full Version : HTML help
Darat
12th October 2006, 07:08 AM
I'm trying to again align the signatures in posts to the bottom of the post, we achieved this last time by altering the HTML code the forum uses (Donks did the work I just cut and pasted it). Unfortunately since the upgrade that no longer works.
Could anyone help me and come up with HTML code that would produce the following:
http://forums.randi.org/imagehosting/1452e3ce8bcdac.gif
CFLarsen
12th October 2006, 07:28 AM
<td width=300 align=left valign=top>
<td width=300 align=left valign=bottom>
Pretty standard. Am I missing something?
Darat
12th October 2006, 07:35 AM
Yep it don't work!
Zax63
12th October 2006, 08:06 AM
<td width=300 align=left valign=top>
<td width=300 align=left valign=bottom>
Pretty standard. Am I missing something?
I think you need a height= in there so the cells don't end up 1 row high.
This worked for me in Firefox and IE:
<table border=2>
<tr>
<td width=300 height=80 valign="top">Top</td>
</tr>
<tr>
<td width=300 height=80 valign="bottom">Bottom</td>
</tr>
</table>
snooziums
12th October 2006, 01:39 PM
It does not work because there is some css (cascading style sheets) that vBulletin uses that overrides it. (I knot this because I once was an admin of a vBulletin fourm).
There might be some "style=" tag that would work, I will have to look into that.
Darat
12th October 2006, 01:48 PM
I think you need a height= in there so the cells don't end up 1 row high.
This worked for me in Firefox and IE:
<table border=2>
<tr>
<td width=300 height=80 valign="top">Top</td>
</tr>
<tr>
<td width=300 height=80 valign="bottom">Bottom</td>
</tr>
</table>
The problem is that this table has to sit within a <TD> and that <TD> has to expand to fit the text of the post. Have a look at the source of this page around a post.
It does not work because there is some css (cascading style sheets) that vBulletin uses that overrides it. (I knot this because I once was an admin of a vBulletin fourm).
There might be some "style=" tag that would work, I will have to look into that.
Yep it would be "style=vertical-align:whatever"
CFLarsen
12th October 2006, 02:05 PM
Yep it don't work!
Do you want a specific height?
It does not work because there is some css (cascading style sheets) that vBulletin uses that overrides it. (I knot this because I once was an admin of a vBulletin fourm).
There might be some "style=" tag that would work, I will have to look into that.
Yes, that's probably it.
Darat
13th October 2006, 01:44 AM
Donks has very kindly contacted me and I'm sure with his wizardry he will work it out (again!).
Darat
13th October 2006, 02:13 AM
:sewhoohoo: Donks to the rescue again!
Thanks to Donks signatures are once again where they should be.
Zep
13th October 2006, 03:09 AM
:sewhoohoo: Donks to the rescue again!
Thanks to Donks signatures are once again where they should be....on blank cheques made out to me???
a_unique_person
13th October 2006, 05:03 AM
HTML is the work of the Devil. Perform a Black Mass and you will get the answer. Oh, I see Donks has done that already.
punchdrunk
13th October 2006, 08:02 AM
:sewhoohoo: Donks to the rescue again!
Thanks to Donks signatures are once again where they should be.
Inquiring minds want to know: what was the solution?
Darat
13th October 2006, 08:47 AM
It was the addtion of (from Donks) " rowspan=2" to td class="alt2"," and "</td></tr><td class="alt1" style="vertical-align: bottom;"> " just before the signature in the template.
Have look in the source of the page it's marked as added by Donks for full details.
It was the rowspan=2 that I couldn't work out.
Upchurch
13th October 2006, 08:53 AM
Donks is the vBulletin God.
tkingdoll
13th October 2006, 09:07 AM
Yay Donks!
He's always been my favourite lurker.
FreeChile
18th October 2006, 10:32 PM
:sewhoohoo: Donks to the rescue again!
Thanks to Donks signatures are once again where they should be.
If you weren't an Admin, I would think you were trying to host your own piggy back web site here on the JREF.
© 2001-2009, James Randi Educational Foundation. All Rights Reserved.
vBulletin® v3.7.7, Copyright ©2000-2012, Jelsoft Enterprises Ltd.