[css-d] Text wraps to left of right floated img, but not for right floated div

2014-05-29 Thread Tim Dawson
I've been building a bit of JS image switching, and now I'm trying to style it. You can see it at http://holidaymullandiona.com. The stationary image of the eagle in the centre column is floated right, and the text to its left wraps as required. The animated images are inside a div, which is

Re: [css-d] Text wraps to left of right floated img, but not for right floated div

2014-05-29 Thread Chris Rockwell
Hi Tim, You have width on #imgDiv set to 'auto'. Every element within #imgDiv is absolutely positioned which effectively removes them from #imgDiv, making its width 0. If you set it to the width of your images (250px) it will resolve. Chris Chris Rockwell On Thu, May 29, 2014 at 12:54 PM,

Re: [css-d] Text wraps to left of right floated img, but not for right floated div

2014-05-29 Thread Tim Dawson
Hello Chris, Thanks for that. It works, as you knew it would. One can't see the wood for the trees sometimes ! Tim On 29/05/2014 18:18, Chris Rockwell wrote: Hi Tim, You have width on #imgDiv set to 'auto'. Every element within #imgDiv is absolutely positioned which effectively removes