This is because x and y axis are not used in HTML only in JavaScript as far
as I am aware.
On 5:01:19 am 06/04/08 John Horner [EMAIL PROTECTED] wrote:
I've just spent a bit of time looking at how background-position works
when expressed as a percentage:
background-position: 90%;
and I'm
[EMAIL PROTECTED] wrote:
Here's
the best way I can describe the effect of (90%, x-axis)
positioning with percentages: "to position the image such that the
point 90% across the image is aligned with the point 90% across the
element".
That makes sense because if you set the x-axis to
On Wed, Jun 4, 2008 at 1:25 PM, Chris Price [EMAIL PROTECTED] wrote:
This never occurred to me before you mentioned it.
More details on background positioning here:
http://www.digital-web.com/articles/web_design_101_backgrounds/
--
- Matthew
I've just spent a bit of time looking at how background-position works
when expressed as a percentage:
background-position: 90%;
and I'm wondering why it works the way it does.
Here's the best way I can describe the effect of (90%, x-axis)
positioning with percentages: to position the image
On Wed, Jun 4, 2008 at 8:01 AM, John Horner [EMAIL PROTECTED] wrote:
I've just spent a bit of time looking at how background-position works
when expressed as a percentage:
background-position: 90%;
and I'm wondering why it works the way it does.
Here's the best way I can describe the
Does anyone know why [bg image positioning] was created that way,
and/or can you tell me if there's some very useful thing this rule
allows you to do?
As Alex pointed out this is the way to use if you want to right-align or
bottom-align a bg image. Also for horizontal/vertical centering this is
CSS rules state clearly background-position vertical and horizontal
settings.
I can get a backgound anyplace from center to far right, but cannot get it
any distance from the top???
Is there any reason a backgound would not position with any values to be
down a certain distance from the top?
body