View Single Post
Old 07-31-2008, 09:14 AM  
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by MetaMan View Post
why not do this?

.outer {
background: #000000;
padding: 5px;
border: 2px solid #ffffff;
float:left;
}
.imagenigga {
border: 2px solid #ffffff;
}

<div class="outer"><img src="images.jpg" class="imagenigga"></div>
<div class="outer"><img src="images.jpg" class="imagenigga"></div>
<div class="outer"><img src="images.jpg" class="imagenigga"></div>
<div class="outer"><img src="images.jpg" class="imagenigga"></div>
In that example is requied to repeat <div class> on each img code and i want to avoid that.I did managed somehow to have just one call to div class for entire block of images i just dont why it's gone later when i clicked again on preview
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote