What's new? | Help | Directory | Sign in
Google
             
Search
for
Updated Sep 19, 2008 by pilgrim
Labels: about-css, is-css-property, from-microsoft
BackgroundPositionXCSSProperty  
If a background image has been specified, the background-position-x property specifies its initial horizontal position.

You are here: Home > CSS Reference > Properties > background-position-x

Usage

Values

Browser compatibility

Compatibility table legend

Test IE8 IE7 IE6 FF3 FF2 Saf3 Op9 Chrome
style.backgroundPositionX reflects <div style='background-position-x: bottom'> N N N N N N Y N
style.backgroundPositionX reflects <div style='background-position-x: center'> Y Y Y N N N Y N
style.backgroundPositionX reflects <div style='background-position-x: top'> N N N N N N Y N

Further reading


Sign in to add a comment