colored borders around auto thumbnails

  • Thread starter Thread starter Jan
  • Start date Start date
J

Jan

I am trying to place a colored border around auto thumbnails. I have figured
out how to make my thumbnails a certain size. But when I go to place the
colored border I have not figured out how to make it work automatically and
have to go into each photo. Please help. I have lots of photos to add to my
site.
 
Use styles - and then you can add a class to all your thumbnails.

Without knowing more, it is a shot in the dark but here goes some:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
<title>Untitled 3</title>
<style type="text/css">
img.myown
{
border: 2px solid #000080;
}
</style>
</head>

<body>
<img src="images/yourimage.gif" class="myown" alt="your alt text of course">
</body>

</html>
 
Back
Top