Virtual Mechanics: Support    Virtual Mechanics: Community Forums and FAQs    Virtual Mechanics: Community Forums and FAQs  Hop To Forum Categories  Feature Requests    workaround for inability of background to center to visitors browser

Moderators: Derry, Goldie, Harpo
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Junior Mechanic
Posted
Hello fellow Virtual Masochists


For future upgrades of Sitespinner:

I would like to use a transparent non-scrolling image in my background. This is possible, but as stated elsewhere in the forums it is not possible to center a background image to the visitors browser. Would it be possible to use an image as an object and have it always remain centered horizontally and vertically, in the viewing section of the browser, no matter where the visitor scrolls to on the page?

Thanks

Bludbot
 
Posts: 10 | Location: British Columbia Canada | Registered: August 01, 2003Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Geezer' Mechanic
Picture of larryd
Posted Hide Post
If you want a background image centered horizontally and vertically in a browser window, add the background to your work page as an image (not as a tile) and in a custom header add:
<style type="text/css">
body {
  background-position: center center; }
}
</style> 
 
Posts: 3469 | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Junior Mechanic
Posted Hide Post
Thanks larryd...it worked like a charm on the first try. Great support...thank you

Bludbot
 
Posts: 10 | Location: British Columbia Canada | Registered: August 01, 2003Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

Virtual Mechanics: Support    Virtual Mechanics: Community Forums and FAQs    Virtual Mechanics: Community Forums and FAQs  Hop To Forum Categories  Feature Requests    workaround for inability of background to center to visitors browser

™ & © 1998 - 2008, Virtual Mechanics Inc. All rights reserved.