Click to See Complete Forum and Search --> : What does it mean background-position:0px 100px;?


toplisek
03-06-2009, 05:19 AM
What does it mean actually
background-repeat:repeat-x;
background-position:0px 100px;

if I use this in body?

KDLA
03-06-2009, 07:16 AM
It means
-don't "tile" or repeat the background once the full image has been displayed
-place the background on the left and 100px from the top.

Reference: http://www.w3schools.com/css/pr_background-position.asp

6StringGeek
03-06-2009, 08:37 AM
I thought repeat-x meant to repeat the image across the x-axis (left to right) and repeat-y meant to repeat along the y-axis (top to bottom) ?

KDLA
03-06-2009, 08:51 AM
You're right. I misread the post.

toplisek
03-21-2009, 01:14 PM
so,when 100 % is width it will bring width all over display whatever size and resolution?
Should be such menu bg position ABSOLUTE as it is within DIV with fixed width...

Charles
03-21-2009, 04:28 PM
See http://www.w3.org/TR/CSS2/ .