DS
Junior Member
Posts: 60
DS said 0 great things
|
Post by DS on Feb 25, 2009 1:06:01 GMT -8
Sorry if i am posting this in the wrong place I have this code on my forum to move the menu buttons inside the banner and center them. I dont want them centered, i want them to the right. How can i change this? <script> pbWelcomeTable = document.getElementsByTagName('table')[0]; pbMenu = pbWelcomeTable.getElementsByTagName('td')[5];
document.write('<center style="position: relative; bottom: 212px;">'+pbMenu.innerHTML+'</center>'); document.body.removeChild(pbWelcomeTable); </script>
|
|
|
Post by Wormopolis on Feb 25, 2009 2:27:11 GMT -8
This board is as good as any since it doesnt concern a code I already wrote.
I havent tested this, but try this:
<script> pbWelcomeTable = document.getElementsByTagName('table')[0]; pbMenu = pbWelcomeTable.getElementsByTagName('td')[5];
document.write('<div align="right" style="position: relative; bottom: 212px;">'+pbMenu.innerHTML+'</div>'); document.body.removeChild(pbWelcomeTable); </script>
|
|
DS
Junior Member
Posts: 60
DS said 0 great things
|
Post by DS on Feb 25, 2009 2:31:44 GMT -8
Just tried it, PERFECT Your the man, i now have a new code site
|
|