Background problem

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Watch

Daniel Smith

Established Member
Impact
0
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.
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
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>
 
0
Close
That worked cheers.
 
0
Close
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back