[thelist] Image inside span

Chris Evans chris at fuseware.com
Tue Sep 24 16:40:01 CDT 2002


I'm trying to place an image inside of a span tag.  I'm using the span
to create a nice little border for the picture.  However, under mozilla,
the image does not sit within the border, it looks as though the image
is overlapping a very small version of the span. Its on an internal
server so its not available to view.  Here's the code:

<html>
<head>
	<title>Pictures 2002</title>
</head>
<style>
.content {
	width: 550px;
	padding: 10px;
	margin: 10px;
	text-align : center;
	border : 1px solid #999;
	background : #eee;
}
</style>
<body>
<span class="content"><img src="/pics/first.jpg" alt="" border="0"></span>
</body>
</html>

Thoughts?

--
Chris Evans
chris at fuseware.com
http://www.fuseware.com





More information about the thelist mailing list