On 6/08/2009, at 3:19 PM, Debbie Roes wrote:

> Hi All,
>
> Just finishing up a site for a photographer client.  It doesn't work  
> yet in
> IE6, so I may have some questions about that tomorrow.
>
> However, today's question has to do with the image gallery prototype:
>
> http://www.incline2000.com/awb/west1.html
>
> I used "box by Tedd" (http://sperling.com/examples/box/) for the blue
> background and I am SO happy to have found that solution!  It works  
> great
> except for one thing (which is probably more about my poor coding  
> than Ted's
> box!)... For the portrait-sized images, I can't get the blue  
> background to
> adjust to the image size horizontally.  Click on the second image in  
> the
> gallery to see what I mean.

#box { float: left; }  /* will ensure that the box 'shrink-wraps'  
around you content. */

#wrapper { overflow: auto; } /* will ensure that your float is  
contained */

#footer { clear: both; } /* will ensure that your footer clears the  
floated box */
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to