Forum Moderators: open
If I load the page in a new browser window off my hard drive the table stretches completely.
If I load the page in an existing browser window off my hard drive, it leaves a small margin.
If I load the page online, the table stretches completely, but if I hit the back button, and then the forward button to return to the page, the margin is back again.
I'm using IE 6.0. Does anyone know the cause of this problem?
The only thing I'm using CSS for is for link style. Nothing major there.
My Code:
<body background="images/cc_v2.0.2_05.jpg" text="#000000" link="#000000" vlink="#000000" alink="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="748" height="100%" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td width="727" align="left" valign="top" bgcolor="#A2BFDD">
Content etc etc
</td>
</tr>
</table></body>
I don't understand what could possibly be causing this.
You have some table widths set at "100" which means 100 pixels. That should be "100%" which should correct any issues you are having.
Also, the table height attribute is not well supported and many don't recommend its use.
If you have to use tables, try formatting them with CSS - much easier to control.