Re: [WSG] Background-position in percentage

2008-06-04 Thread rhodry
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

Re: [WSG] Background-position in percentage

2008-06-04 Thread Chris Price
[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

Re: [WSG] Background-position in percentage

2008-06-04 Thread Matthew Pennell
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

[WSG] Background-position in percentage

2008-06-03 Thread John Horner
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

Re: [WSG] Background-position in percentage

2008-06-03 Thread Алексей Тен
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

RE: [WSG] Background-position in percentage

2008-06-03 Thread Jens-Uwe Korff
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