On 9/16/06, Philippe Wittenbergh <[EMAIL PROTECTED]> wrote: > > On Sep 16, 2006, at 3:46 AM, Bernat Lleonart wrote: > > > #container { > > background: url("images/picture.jpg") 0 12px > > no-repeat; > > border: 1px solid red; > > > > The problem is: > > > > If the div doesn't expand vertically as much as the height of the > > image, the image is repeated vertically. However, if I position the > > image at 0,0, the problem disappears. Moreover, if the div is higher > > than the image, it doesn't repeat. > > > > I know there is a bug with Safari and background images, but I thought > > it was in earlier versions of the browser. Mine is 1.3.2 (v312.6). > > The background image bug in Safari... massively present in release > builds (1.3.2 and 2.04). > To give you some hope, the problem is partly fixed in Webkit nightly > builds. > No easy or fit-it-all fixes, I'm afraid. > > In your case, you may try to add 12px (trasparent ?) to the top of > your image, and position it at 0, 0 instead of 0 12px. > Or make a smaller image. > Or make sure there is enough content in your #container ... :-). > > Philippe > --- > Philippe Wittenbergh > <http://emps.l-c-n.com> > > Thank you Philippe, I'll try modyfying the image dimensions.
Bernat ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/