Associate
- Joined
- 15 Apr 2008
- Posts
- 1,031
- Location
- West Didsbury, Manchester
This is the page in question:
http://devel.embed.me.uk/cccms/index.php?page=1
As you can see the image is not expanding the (white) div that it is located in to it's full length. Is there anyway to force this? It only happens when I use float. Here is the class that is applied to the image:
and the page source:
Thanks in advance!
http://devel.embed.me.uk/cccms/index.php?page=1
As you can see the image is not expanding the (white) div that it is located in to it's full length. Is there anyway to force this? It only happens when I use float. Here is the class that is applied to the image:
Code:
img.imageLeft {
float:left;
margin-right: 20px;
margin-bottom: 5px;
display:block;
}
and the page source:
Code:
<div id="bodyTop">
</div>
<div id="body">
Welcome to <strong>CCCMS DEVEL</strong><br />
<br />
<img class='imageLeft' style='width:700px;' src='userImages/pat.jpg' /> </div>
<div id="footer">
<p></p></div>
</div>
Thanks in advance!