W3C home > Mailing lists > Public > www-html@w3.org > October 2005

Re: Multiple Background Images for a Single Element

From: Bert Bos <bert@w3.org>
Date: Sat, 29 Oct 2005 14:11:49 +0200
To: Lonnie Best <w3@startport.com>
Cc: www-html@w3.org
Message-ID: <20051029121149.GA6537@accueil.w3.org>

Hello Lonnie,

> One more question: In the CSS3 "working document", is there any limit to the
> number of background images you can specify?
> 
> Specifically, I'm thinking of a circumstance where one would want to have 8
> images "docked" to the perimeter (all sides and all corners) of an element,
> and a 9th image that "tiles" (or repeats) in the center.
> 
> Is this also possible?

Yes, that is possible. In fact, there is a special 'border-image'
property that makes this case (9 images) easier, because we think it
is one of the most common.

There is no limit to the number of images, apart from memory
constraints in the browser.



Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos                               W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France
Received on Saturday, 29 October 2005 12:11:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:04 GMT