colored borders around auto thumbnails

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.
 
C

Corey Bryant

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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top