On Mon, May 25, 2009 at 9:04 PM, Anna G <agav...@gmail.com> wrote:
> Thank you David and Mark.
>
> The only problem is that the image has to stay INSIDE the box1. This is due
> to the CMS we are using :(
>
> Is there any way to get the box2 to display below the image, by keeping the
> image inside box1?


You'll want to be more specific for your CSS selectors, but this should work:

div { clear: left; }
img {
       float: left;
       display: block;
}

<div>
       <img src="some-image.png" alt="description">
       <p>The quick brown fox jumps over the lazy dog.</p>
</div>
<div>
       <p>The quick brown fox jumps over the lazy dog.</p>
</div>

(Apologies, Anna, for the double-email. I forgot to include the group!)

Best,
Erik
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
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