W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2005

[CSS] 'background-position' problem

From: Stanimir Stamenkov <stanio@myrealbox.com>
Date: Wed, 17 Aug 2005 01:10:11 +0300
Message-ID: <43026443.3000304@myrealbox.com>
To: www-amaya@w3.org

Amaya 9.2.1

The 'background-position' doesn't work at all, but seems like it is 
recognized because it gives me a lot of headaches, both when 
specified as part of the 'background' shorthand and alone.

Works:

   background: url(bkg_img.png) left top repeat-y;

Doesn't work:

   background: url(bkg_img.png) repeat-y left top;

Works:

   background-image: url(bkg_img.png);
   background-position: left top;
   background-repeat: repeat-y;

Doesn't work:

   background-image: url(bkg_img.png);
   background-repeat: repeat-y;
   background-position: left top;

Any recognized value used with 'background-position' doesn't matter 
- it just causes the 'background-repeat' to fail. It is impossible 
to set a background image to repeat along the right vertical edge or 
the horizontal bottom edge of a box. Note, when invalid value is 
used with 'background-position' it is just ignored and doesn't 
interfere with 'background-repeat'.

-- 
Stanimir
Received on Tuesday, 16 August 2005 22:44:26 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:48 UTC