Hi,
I have a style sheet that has this code:
#sc a img {
border: 0;
}
It HAS to be there, mean while I have a photo gallery that has this CSS and PHP code. The above code makes it so there is no border and I want there to be a border with this code. How can I make that happen?
img.pwthumbs {
margin-left:20px;
margin-right:20px;
margin-top:20px;
padding:8px;
border:solid;
border-color: #dddddd #aaaaaa #aaaaaa #dddddd;
border-width: 1px 2px 2px 1px;
}
<?
for ($i = $start; $i < $limit; $i++) {
if (!isset($photos[$i])) break; // No more photos
echo ‘<li><a href=”‘ . $eventinfo[‘photo_path_url’] . ‘/web/’ . $photos[$i] . ‘” rel=”lightbox[event]”><img src=”‘ . $eventinfo[‘photo_path_url’] . ‘/thumbs/’ . $photos[$i] . ‘” alt=”” class=”pwthumbs” border=”0″ width=144 height=95/></a></li>’;
}
?>
img.pwthumbs {
margin-left:20px;
margin-right:20px;
margin-top:20px;
padding:8px;
border:solid;
border-color: #dddddd #aaaaaa #aaaaaa #dddddd;
border-width: 1px 2px 2px 1px;
}