My problem was solved by putting a
clear: both;
on the div that followed the picture.
For some reason when i add the previously mentioned code to my css, and i got an image that takes up more space than the actual text, the image will not keep the boundaries but appears to be floating over the part of the page that follows it.
If i remove the code, the image will not align left (i’ve only tested left), but it doesn’t float over the stuff that comes after.
Any help would be greatly appreciated.