First, your code had some syntax errors (misplaced quotes, missing equal and colon signs).
You should not use a left-margin if you don't want any space between your images.
You don't need the deprecated align attribute if you set your float in the style.
Your clearing element will stop your text from wrapping around your floated images.
<img src="king1.gif" alt="" style="float:right; margin: 0 0 0 0"/>
<img src="king2.gif" alt="" style="float:right; margin: 0 0 0 0"/>
<img src="king3.gif" alt="" style="float:right; margin: 0 0 0 0"/>
<img src="king4.gif" alt="" style="float:right; margin: 0 0 0 0"/>
<img src="king5.gif" alt="" style="float:right; margin: 0 0 0 0"/>
<img src="king6.gif" alt="" style="float:right; margin: 0 0 0 0"/>
Lorem Ipsum. This text will wrap around the images
<hr style="color: rgb(102,102,204); clear: right"/>
And this text will display under the floated images.
Main Topics
Browse All Topics





by: EsopoPosted on 2005-06-23 at 20:21:38ID: 14290925
Try it like this:
<img src="king1.gif" alt"" align="right" style="float:'right'; margin 0 0 0 5"/>
<img src="king2.gif" alt"" align="right" style="float:'right'; margin 0 0 0 5"/>
<img src="king3.gif" alt"" align="right" style="float:'right'; margin 0 0 0 5"/>
<img src="king4.gif" alt"" align="right" style="float:'right'; margin 0 0 0 5"/>
<img src="king5.gif" alt"" align="right" style="float:'right'; margin 0 0 0 5"/>
<img src="king6.gif" alt"" align="right" style="float:'right'; margin 0 0 0 5"/>
<hr style="color: rgb(102,102,204); clear: right"/>
You had some seriously missplaced ; and your style attribute was missing " wrappers.