NamePros.Com (http://www.namepros.com/)
-   Programming (http://www.namepros.com/programming/)
-   -   Background problem (http://www.namepros.com/programming/15854-background-problem.html)

Daniel Smith 12-20-2003 07:33 AM

Background problem
 
i have this script:

<script language="JavaScript1.2">
if (document.all)
document.body.style.cssText="background:white url(http://danskrib.co.uk/Images/Graphics/Santa.gif) no-repeat fixed center center"
</script>

which as you can tell puts a static background image on my website.

the problem is that i need to align in the left, but i dont know how.

I would appreciate any help.

deadserious 12-20-2003 08:04 AM

I think if you change it from fixed center center to fixed left center it should work.

<script language="JavaScript1.2">
if (document.all)
document.body.style.cssText="background:white url(http://danskrib.co.uk/Images/Graphics/Santa.gif) no-repeat fixed left center"
</script>

Daniel Smith 12-20-2003 10:10 AM

That worked cheers.


All times are GMT -7. The time now is 12:07 AM.
Site Sponsors
Advertise your business at NamePros

Powered by: vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0