Fang
Student
Rawr. xD
Posts: 8
|
Post by Fang on Sept 8, 2007 14:25:23 GMT -5
I want my board and banner centered, but can't figure out the code. Could someone please give the code to me or tell me how?
|
|
addict
Student
When You Think About It The World Is One Big Conspiracy
Posts: 15
|
Post by addict on Sept 8, 2007 16:55:14 GMT -5
<script language="JavaScript"> var boardwidth = document.getElementsByTagName('TABLE'); for(i=0;i<boardwidth.length;i++) { if(boardwidth.width=="92%"){ boardwidth.width='700 px';}} </script>
Its called the forum resize code. Just change the part that says 700 to whatever width your banner is. That should work.
|
|
Fang
Student
Rawr. xD
Posts: 8
|
Post by Fang on Sept 8, 2007 17:05:55 GMT -5
Thanks so much! Edit: Er, I isn't working. I put it in the global header, then resized the 700 to 10 pxls (just to test it out). Nothing happened. Am I doing something wrong?
|
|
|
Post by Jordan on Sept 8, 2007 18:14:26 GMT -5
goes in global footer
|
|
Fang
Student
Rawr. xD
Posts: 8
|
Post by Fang on Sept 8, 2007 19:47:41 GMT -5
Oh! *slaps forehead* That'd explain it. Thanks.
|
|
|
Post by Jordan on Sept 9, 2007 9:41:00 GMT -5
xP
|
|