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