View Full Version : align="top"; issue with image within div

12-29-2009, 10:33 PM
I want the bottommost image to line up right next to that bottommost orange line on this (http://users.rcn.com/**************/) page. I have applied float left tags to the containing div and an align top tag to the image, but it's not moving. Any ideas?

12-29-2009, 10:49 PM
We float elements to put other elements beside them. No need to float a full width element.

Your image is 75px high, you are resizing it with inline styles :( to 46px high, the div you place it in is 89px high.
Then you also put a break in there which adds even more space.

Try this -

<div style="margin: 0px; width: 926px; float: left;">
<img src="images/FLASHHERE.png" width="922" align="top" height="46"></div>