PDA

View Full Version : White Bar Outside Layout??


youdw
08-16-2011, 03:25 PM
In dreamweaver it looks okay. But when it is uploaded the white strip is outside the layout. How do I fix this?? Please see the Desktop.zip. 01.jpg is the correct way I want it, but when uploaded it is the Untitled01.jpg.


__________________________________________________ __________


<!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=utf-8" />
<title>title>
<style type="text/css">
body {
background-color: #333;
}
</style>
</head>
<body>
<table width=1000" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#FFFFFF"><img src="" width="1000" height="110" /></td>
</tr>
<tr bgcolor="#FFFFFF">
<td><table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr bgcolor="#CCCCCC">
<td height="39"><table width="100%" border="0" cellspacing="2" cellpadding="15">
<tr bgcolor="#CCCCCC">
<td bgcolor="#FFFFFF"><table width="104%" border="0" align="center" cellpadding="5" cellspacing="5">
<tr bgcolor="#E2E2E2">
<td height="29"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#FFFFFF">
<td align="left"><table width="128%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#FFFFFF">
<td align="left"><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href=""></a> | <a href=""></a></p>
<h2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</h2>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Written By <a href=</p></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>

Corrosive
08-16-2011, 03:29 PM
Don't use tables to lay out web pages.

youdw
08-16-2011, 03:43 PM
I don't know any other way. Can someone just fix my code, if you see the error. Thanks.

Corrosive
08-16-2011, 03:48 PM
There are unclosed title tags, tables nested inside table cells, superfluous non-breaking spaces all over the shop, you are using deprecated attributes such as td height. If you learned CSS then you'd have none of these issues... Where would you like us to start?

youdw
08-16-2011, 04:19 PM
I guess nevermind. I'll figure it out. Thanks anyway.