The short answer to that is that you will want one or more wrapper divs just inside or outside the box in question, each with a part of the box as a background. It used to be done with tables, but divs can accomplish the task much easier and with smaller, neater code.
Google for "sliding door method" for the standard description of exactly how to do this.



