# DWeaver 8 - rendering issues

**URL:** <https://forum.kirupa.com/t/dweaver-8-rendering-issues/186661>\
**Category:** web dev\
**Created:** [April 23, 2006, 12:22pm UTC](https://forum.kirupa.com/t/dweaver-8-rendering-issues/186661 "2006-04-23T12:22:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dave](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@Dave](https://forum.kirupa.com/u/Dave)\
**Post date:** [April 23, 2006, 12:22pm UTC](https://forum.kirupa.com/t/dweaver-8-rendering-issues/186661/1 "2006-04-23T12:22:11Z")

</div>

Hey guys,

Just playing with dreamweaver 8. When i create a table 100% width and height with a background colour of pink for example it doesn’t render properly on Internet explorer. You only see a single row in pink, you dont see the whole page in pink. If I add a background image, you don’t see it at all.

If I remove the code on the first 2 lines, the DTD, then it works fine.

```auto
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style></head>

<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#003366">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>

```

---

<div class="post-metadata">

**Author:** ![Dave](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@Dave](https://forum.kirupa.com/u/Dave)\
**Post date:** [April 23, 2006, 11:13pm UTC](https://forum.kirupa.com/t/dweaver-8-rendering-issues/186661/2 "2006-04-23T23:13:19Z")

</div>

This is what you get if you don’t remove the DTD tag on the first 2 lines of the code.

```auto
<!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 {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style></head>

<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#003366">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>

```

---

<div class="post-metadata">

**Author:** ![soulty](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/soulty/32/105_2.png) [@soulty](https://forum.kirupa.com/u/soulty)\
**Post date:** [April 24, 2006, 3:30am UTC](https://forum.kirupa.com/t/dweaver-8-rendering-issues/186661/3 "2006-04-24T03:30:03Z")

</div>

use css and a div. Only issue with that is if you want to vertically align the content you would need to find the css hack/work around.

css//

body{  
padding: 0 0 0 0;  
margin: 0 0 0 0;  
}

#wrapper{  
margin:0 auto;  
width:?px;  
}

//

html//  
\<body\>  
\<div id=“wrapper”\>  
insert content here…  
\</div\>  
\</body\>
