At 10:25 13/11/2003 +1030, Miles Tillinger wrote:
I want to have an image with text on the right, but when the text goes beyond the bottom of the image I don't want it wrap, but rather to keep the consistent margin:

Try this:


<style type="text/css"><!--
        div.float { float:left; }
        div#image { width: 100px;}
        div#text { width: 300px; }
        bg.clear { clear:both; }
--></style>

(...)

<div class="float" id="image"><img ... /></div>
<div class="float" id="text">All your base are belong ... </div>
<br class="clear" />

I don't test the script. Configure this according your necessity ;)

>> Irapuan Martinez .>__________________________________________
                                    http://www.hypergraph.com.br

*****************************************************
The discussion list for http://webstandardsgroup.org/
*****************************************************




Reply via email to