|
Post by Christie on Jun 19, 2004 7:21:45 GMT
To center align this part of the saybox
Becasuse at the width of my saybox, which needs to stay that way (stupid me not thinking when I was slicing an image...) made the word admin wrap...It would be aesthetically pleasing if it was possible to do so...is it?
|
|
|
Post by Ron on Jun 19, 2004 7:57:33 GMT
To center align this part of the saybox Becasuse at the width of my saybox, which needs to stay that way (stupid me not thinking when I was slicing an image...) made the word admin wrap...It would be aesthetically pleasing if it was possible to do so...is it? This will be a default feature of SayBox version 3, but until then, this code should do the trick: <script type="text/javascript"> var tds = document.getElementsByTagName('td'); for(x=0; x<tds.length; x++) { if(tds[x].innerText.toLowerCase().indexOf("powered by saybox") != -1) { tds[x].style.textAlign = 'center'; } } </script> Just stick that under your SayBox Code.
|
|
|
Post by Christie on Jun 21, 2004 6:56:32 GMT
Woohoo, thanks Looks much better now...I almost switch services because of that minor detail...lol..I am glad I stayed though, thanks Ron
|
|
|
Post by Ron on Jun 22, 2004 0:24:28 GMT
Woohoo, thanks Looks much better now...I almost switch services because of that minor detail...lol..I am glad I stayed though, thanks Ron No problem
|
|