CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS background-position Property




CSS Background position Property use to set a element backgorund image position.


Property Values


Properties Value Description
Syntax background-position:value;
value   percentage
  left
  right
  top
  bottom
  center
  inherit
Allow to All Elements
Inherited No

Example-Code

<p style="background-image:url(jix/img_nat.png);background-repeat:
no-repeat;background-position: 60% 10%;height:130px;width:500px;">
This example is Background Image position set in element.</p> 
Online Try This Code Your Self....   »

Example-Result

This example is Background Image position set in element.