'background-position' Syntax and Note : background position « CSS Attributes and Javascript Style Properties « HTML CSS Reference

HTML CSS Reference
1. CSS Attributes and Javascript Style Properties
2. HTML Attributes Reference
3. HTML Tag Reference
Microsoft Office Word 2007 Tutorial
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
HTML CSS Reference » CSS Attributes and Javascript Style Properties » background position 
'background-position' Syntax and Note

Note:

Left and top coordinates of the background image.

If two values are provided, 
the first value sets the horizontal position
the second value sets the vertical position. 

If one value is provided, 
only the horizontal position is set, 
the vertical position will be set to 50 percent of the page height.

Syntax:
    
element background-position: value }
elementID.style.backgroundPosition = "value"
document.all.elementID.style.backgroundPosition = "value" // IE only
    

      
      
Related examples in the same category
1. 'background-position' Example
2. 'background-position' Possible Values
3. 'background-position' is applied to
w__w_w___.ja___v__a2__s_.co_m_ | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.