Hello Everyone,

I am just wanting to know how I would display an image at the top left of a DIV container and have text going down the right of it and then when it gets past the image, the text the prints all the way across underneith the image. (What you can do in Word).

Thanks

Daniel

Let us see your HTML.

<div><img style='float:left'>bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla</div>

styles of course belong in the stylesheet, and the images is not properly defined

Although almostbob told a good solution but if you want to use this in repeating fashion like blog posts then you should use proper css codes instead of inline coding.

For example your div is a container for your text/article.

.container {
clear:both;
width:100%;
height:auto;
}
.container img { float:left}
now you can use this as:
<div class="container">
<img src="images/imagename.jpg" alt="text" width="50" height="50"/>
<p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
</div>

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.