View Single Post
  #7 (permalink)  
Old Jan 5th, 2008, 19:21
Stuart Stuart is offline
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS border

Good point, Marc. So, do the following instead:
HTML: Select all
<div class="thumb">
 <img  src="../tn/tn_encoder440.jpg" alt="Play" width="96" height="94" border="0" class="alignleft" />
</div>
And here's the CSS:
Code: Select all
.thumb {
background:none;
border:1px solid #D4D4D4;
color:#FFFFFF;
float:left;
margin:0pt 15px 15px 0pt;
padding:5px;

.alignleft {
float:left;
}
And that's all you need.
Reply With Quote