View Full Version : how to center??
izlik
Dec 11th 2008, 6:42 am
Hello
If i have a javascript in the <script></script> tags, how could i make it center to the middle of the screen? currently the script when run is allinged to the left :/ i cant use div because of the coding.
DrennanSoftware
Dec 11th 2008, 8:15 am
Try this:
<center>
<script>
...
</script>
</center>
izlik
Dec 11th 2008, 4:10 pm
dosent work :( due to the coding i get Parse error: syntax error, unexpected '<' in if i try to do that :(
DrennanSoftware
Dec 11th 2008, 6:48 pm
What language are you using on your website?
izlik
Dec 12th 2008, 7:35 am
What language are you using on your website?
the page coding is coded in PHP
DrennanSoftware
Dec 12th 2008, 2:31 pm
the page coding is coded in PHP
Can I see the code? I can probably get a better idea of the problem.
izlik
Dec 13th 2008, 2:43 pm
problem solved by drennan, thank you and +rep added :)
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.