Hi,
This thing that might simple is really drivin me crazy. I have a small image that i want to align to the top left and the text would revolve around it. It seems to work in IE but not in others. In opera,mozilla and safari, the image doesn't start at top. Instead, there is a paragraph or so on top of it. The image and the text are located within the same div. Here is my code:
The css code:
i have tried clear:both and display:block but nothing changed. what am i doin wrong here?
This thing that might simple is really drivin me crazy. I have a small image that i want to align to the top left and the text would revolve around it. It seems to work in IE but not in others. In opera,mozilla and safari, the image doesn't start at top. Instead, there is a paragraph or so on top of it. The image and the text are located within the same div. Here is my code:
Code:
<div> <img src="d.jpg" id="leftalign"> Content goes here content goes here </div>
Code:
#leftalign {float:left;width:150px; height:152px; margin: 0 15px 15px 0;}
Comment