What I want is this: A box with an image in the boxImg div. That div should be 100px when the image is 100px and 200px when the image 200px.
I have to float the boxImg when I want the text next to the image and when floating I have to give boxImg a specific width. So I think what i want is not possible but I hope it is. One solution could be floating only the image and let the text go round it but that's not what I want. I tried several things but nothing gave me the result I wanted. Source code: <div class="box"> <div class="boxImg"><img /></div> <!-- end .boxImg --> <div class="boxTxt"> <p>smaple text</p> </div> <!-- end .boxTxt --> </div> <!-- end .box --> To create something like this: http://ischagast.nl/img/example-01.gif http://ischagast.nl/img/example-02.gif ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/