inherit
35834
0
Aug 11, 2010 5:15:42 GMT -8
Joshua1
177
January 2005
joshua1
|
Post by Joshua1 on Mar 5, 2006 6:29:40 GMT -8
What's the code to center members usernames. At the minute my member names all appear on the left. I notice on this forum member names and stars etc are all centered ?
|
|
inherit
Shandy waz ere y2k7 5paming profilings
14709
0
May 10, 2008 15:27:51 GMT -8
[K]hAoS
together we stand
10,968
October 2003
nicechap
|
Post by [K]hAoS on Mar 5, 2006 6:38:44 GMT -8
What's the code to center members usernames. At the minute my member names all appear on the left. I notice on this forum member names and stars etc are all centered ? This is a code i have to center the members mini profile, like on the left of here at Support. Add to Global Footer <script language="JavaScript"> makeCenter = document.getElementsByTagName('TD'); for(t=0;t<makeCenter.length;t++) if(makeCenter[t].width=="20%" && makeCenter[t].rowSpan=="2" && makeCenter[t].vAlign=="top") { makeCenter[t].align='center'; } </script>
|
|
inherit
35834
0
Aug 11, 2010 5:15:42 GMT -8
Joshua1
177
January 2005
joshua1
|
Post by Joshua1 on Mar 5, 2006 7:04:48 GMT -8
That hasn't seemed to have worked ?
|
|
inherit
Shandy waz ere y2k7 5paming profilings
14709
0
May 10, 2008 15:27:51 GMT -8
[K]hAoS
together we stand
10,968
October 2003
nicechap
|
Post by [K]hAoS on Mar 5, 2006 7:09:04 GMT -8
That hasn't seemed to have worked ? Ensure that you added it to the Global Footer, if that is the case and it still doesn't work then try deleting the code from there and adding it to an indivual boards footer and seeing if it works then. If that works then just add that code to all your footers.
|
|
inherit
35834
0
Aug 11, 2010 5:15:42 GMT -8
Joshua1
177
January 2005
joshua1
|
Post by Joshua1 on Mar 5, 2006 7:13:14 GMT -8
Still doesn't center member names even when I add it to the individual footers ?
|
|
inherit
Proboards Legend
12897
0
Oct 16, 2016 6:49:45 GMT -8
Snakeair
I don't know what to write here.
40,721
August 2003
snakeair
|
Post by Snakeair on Mar 5, 2006 7:17:03 GMT -8
Global footer.
<script type="text/javascript"> /* Align mini-profile */
var ialign="center";
var td=document.getElementsByTagName('td') for (m=0;m<td.length;m++) { if (td[m].className.match(/windowbg/i) && td[m].width=="20%"){ td[m].align=ialign;}} </script>
|
|
inherit
35834
0
Aug 11, 2010 5:15:42 GMT -8
Joshua1
177
January 2005
joshua1
|
Post by Joshua1 on Mar 5, 2006 9:36:25 GMT -8
That's done the trick , thank you both
|
|
inherit
Proboards Legend
12897
0
Oct 16, 2016 6:49:45 GMT -8
Snakeair
I don't know what to write here.
40,721
August 2003
snakeair
|
Post by Snakeair on Mar 5, 2006 9:37:47 GMT -8
I'm glad you got it working. Have a great day.
|
|
inherit
Shandy waz ere y2k7 5paming profilings
14709
0
May 10, 2008 15:27:51 GMT -8
[K]hAoS
together we stand
10,968
October 2003
nicechap
|
Post by [K]hAoS on Mar 5, 2006 9:41:50 GMT -8
That's done the trick , thank you both Sorry mine didn't work but its all i had as i couldn't locate one in the database. Your Welcome Also
|
|