My favorites
|
Sign in
doctype
Documenting the open web
Project Home
Wiki
Issues
Source
Search
Search within:
All wiki pages
Featured pages
Current pages
Deprecated pages
for
Updated
Sep 19, 2008
by
pilgrim
Labels:
about-css
,
is-css-property
,
from-w3c
BackgroundPositionCSSProperty
If a background image has been specified, the background-position property specifies its initial position.
You are here:
Home
>
CSS Reference
>
Properties
>
background-position
Usage
Values
Browser compatibility
Compatibility table legend
Test
IE8
IE7
IE6
FF3
FF2
Saf3
Op9
Chrome
style.backgroundPosition reflects <div style='background-position: 10% 40%'>
Y
Y
Y
Y
Y
Y
Y
Y
style.backgroundPosition reflects <div style='background-position: 5px 10em'>
Y
Y
Y
N
Y
N
Y
N
style.backgroundPosition reflects <div style='background-position: bottom'>
N
N
N
N
Y
N
Y
N
style.backgroundPosition reflects <div style='background-position: bottom right'>
Y
Y
Y
N
Y
N
Y
N
style.backgroundPosition reflects <div style='background-position: center center'>
Y
Y
Y
N
Y
N
Y
N
style.backgroundPosition reflects <div style='background-position: center'>
N
N
N
N
Y
N
Y
N
style.backgroundPosition reflects <div style='background-position: left'>
N
N
N
N
N
N
Y
N
style.backgroundPosition reflects <div style='background-position: right'>
N
N
N
N
N
N
Y
N
style.backgroundPosition reflects <div style='background-position: top'>
Y
Y
Y
N
N
N
Y
N
style.backgroundPosition reflects <div style='background-position: top left'>
Y
Y
Y
N
Y
N
Y
N
Further reading
The background-position property in CSS 2.1
The background-position property on Mozilla Developer Center
The background-position property on MSDN
The history of the background-position property on blooberry.com
The background-position property on the SitePoint CSS Reference
Sign in
to add a comment
Hosted by