View Single Post
  #1 (permalink)  
Old May 18th, 2007, 08:36
Matty Brown Matty Brown is offline
New Member
Join Date: May 2007
Location: UK
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
why are there lines on two sides of my graphic

Could anyone help me with this query. I use Dreamweaver. Browser IE. For some reason, when I insert a graphic, sometimes I get a border around the top and right sides of the graphic.

www.studiowebs.co.uk/example1border.html

Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
 background-color: #00164F;
}
-->
</style></head>
<body>
<img src="splash.gif" width="700" height="525" />
</body>
</html>

Sometimes, when I do eactly the same with another graphic, I do not get a border.

www.studiowebs.co.uk/example2noborder.html

Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
 background-color: #ED008C;
}
-->
</style></head>
<body>
<img src="portalimage.gif" width="631" height="553" />
</body>
</html>
Does anyone know why this is?

Thanks, Matty

Last edited by Matty Brown; May 18th, 2007 at 09:14.
Reply With Quote