W3C home > Mailing lists > Public > www-style@w3.org > March 1998

Re: IE, NN and background-position: thpppt!

From: Todd Fahrner <fahrner@pobox.com>
Date: Tue, 10 Mar 1998 15:39:08 -0800
Message-Id: <v0310280ab12b7a975b43@[206.245.203.103]>
To: "David Perrell" <davidp@earthlink.net>, "Style" <www-style@w3.org>
David Perrell wrote (1:40 AM -0800 3/10/98):

" You don't need to change your declaration at all to maintain that
" cleverly-gotten effect. A repeating background image will still extend
" into the padding, wherever the initial position.

Suppose the repeating background image is 72 pixels square, showing a piece
of your favorite fruit. And suppose you've got 36 pixels of padding on your
element. If the point of origin for the tile is not the outer padding
boundary, then the fruit in the padding area will be chopped in half, any
way you slice it. Unless you were to set the initial position to -36px,
which is a bit ugly as it merely inverts another figure in the rule. So I
still think the current implementation is more useful than the spec, and
suggest that the CSS2 spec be amended, with perhaps an explanatory note
being attached to the CSS1 spec if that's not too dicey.


Todd Fahrner
mailto:fahrner@pobox.com
http://www.verso.com/agitprop/

The printed page transcends space and time. The printed page, the
infinitude of books, must be transcended. THE ELECTRO-LIBRARY.
	- El Lissitzky, 1923
Received on Tuesday, 10 March 1998 18:32:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:54 GMT