On 29/06/2011 1:55 PM, John D wrote:
On 29/06/2011 9:01 AM, Tom Livingston wrote:
List,
Is it possible to position a background image on the body of a page so
that the LEFT EDGE of the image is always at 50% of the viewport? Ive
googled a bit but not sure im using the right search terms...
On Wed, Jun 29, 2011 at 4:31 AM, Tom Livingston wrote:
>
> Is it possible to position a background image on the body of a page so
> that the LEFT EDGE of the image is always at 50% of the viewport? Ive
> googled a bit but not sure im using the right search terms...
>
>
background: url(image.png) n
Of course it is possible. put this code for your background:
background: white url(background_image.gif) repeat-y 50% 0;
In the above code everything is self explanatory except the following:
50% === background position x;
0 === background position y;
> List,
>
> Is it possible to position
List,
Is it possible to position a background image on the body of a page so
that the LEFT EDGE of the image is always at 50% of the viewport? Ive
googled a bit but not sure im using the right search terms...
TIA
--
Tom Livingston | Senior Interactive Developer | Media Logic |
ph: 518.456.3015