Ok, I hate to admit that I'm still using Dreamweaver CS3 to handle my coding (I just design it). And I REALLY hate to admit I'm still using Tables.
I've been working on learning CSS, but until I do - I need to optimize this table based site.
Before, the markup was a mess. I tried my best to go in and 'clean' everything up, but my skills are limiting me.
Now, the site looks fine in Dreamweaver - but when I upload it, it's just a jumbled mess in my browser.
Note that the HTML below is just what I have between the <body> tags.
Do you see anything wrong in here that could be causing the site to look messed up?
Thank you in advance:
Quote:
<body>
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
<td width="1000" height="128" colspan="3" align="left" valign="bottom" background="header1.png"></td></tr>
<table width="1000" border="0" cellspacing="3" cellpadding="3">
<tr><td><a href="http://www.domain.com/store/pc/home.asp">Home </a> | <a href="http://www.domain.com/store/pc/viewcart.asp">View Cart</a> | <a href="http://www.domain.com/store/pc/checkout.asp">Checkout</a> | <a href="http://www.domain.com/store/pc/viewcontent.asp?idpage=1">Policies</a> | <a href="mailto:sales@domain.com">Contact Us</a></td></tr></table>
<td width="1000" height="19" colspan="3" align="right" valign="top" background="midbar.png">
<table width="315" border="0" align="right" cellpadding="3" cellspacing="0">
<tr><td><div align="right">
<% if session("idCustomer")="0" or session("idCustomer")="" then %>
<a href="CustPref.asp">Create Account</a>
<% else %>
<%response.write(dictLanguage.Item(Session("langua ge")&"_CustPref_10") & session("pcStrCustName") & "!")%>
<% end if %>
<% if session("idCustomer")="0" or session("idCustomer")="" then %>
| <a href="custpref.asp" >Log In</a>
<% else %>
| <a href="http://www.domain.com/store/pc/default.asp?action=clear">Log Off</a>
<% end if %>
</div></td></tr></table><tr><td width="150" height="600" align="left" valign="top" background="leftnav.png" bgcolor="#000000"><ul id="MenuBar1" class="MenuBarVertical">
<li><a href="http://www.domain.com/store/pc/link1.htm">Link 1</a></li>
<li><a href="http://www.domain.com/store/pc/link2.htm">Link 2</a> </li>
</ul>
</td>
<td width="700" align="left" valign="top" bgcolor="#000000"><table width="685" border="0" align="center" cellpadding="0" cellspacing="0">
<tr><td> </td></tr></table>
<td width="150" align="left" valign="top" background="rightnav.png" bgcolor="#000000"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr><td><div align="center" class="style9"><a href="http://www.domain.com/store/pc/search.asp">Search for Parts & Accessories</a></div></td></tr>
<tr><td width="149" height="117"><div align="center"><!-- #Include file="SmallSearchBox08.asp"--></div></td></tr>
<tr><td><div align="center"><a href="javascript:document.search.submit()"><img src="pc2009-search.png" alt="Search >>" width="52" height="9" border="0"></a></div><div align="center"></div></td></tr>
<tr><td height="10"><div align="center"><img src="bar.gif" alt="Breaker" width="134" height="1"></div></td></tr></table>
<table width="149" border="0" cellspacing="3" cellpadding="3">
<tr><td height="20" align="right"><a href="http://www.domain.com/store/pc/search.asp">Advanced Search >></a></td></tr>
<tr><td height="20" align="right"><a href="http://www.domain.com/store/pc/viewcontent.asp?idpage=2">About Us >></a></td></tr>
<tr><td height="20" align="right"><a href="http://www.domain.com/store/pc/viewbrands.asp"> Manufacturers >></a></td></tr>
<tr><td height="20" align="right"><a href="http://www.domain.com/store/pc/showspecials.asp">Specials >></a></td></tr>
<tr><td height="20" align="right"><a href="http://www.domain.com/store/pc/showbestsellers.asp">Top Sellers >></a></td></tr>
<tr><td height="20" align="right"><a href="http://www.domain.com/store/pc/shownewarrivals.asp">New Product Arrivals >></a></td></tr>
<tr><td height="20" align="right"><a href="http://www.domain.com/store/pc/viewcontent.asp?idpage=8">Shipping Policy >></a></td></tr>
<tr><td align="right"><a href="http://www.domain.com/store/pc/viewcontent.asp?idpage=3">Video Gallery >></a></td></tr>
<tr><td align="right"><a href="http://www.domain.com/store/pc/viewcontent.asp?idpage=4">Photo Gallery >></a></td></tr></table>
<tr><td colspan="3" align="center" valign="middle" bgcolor="#000000"><p> </p></td></tr>
<tr><td colspan="3" align="left" valign="top" bgcolor="#404040"><div align="center"><a href="http://www.domain.com/store/pc/home.asp">Home </a> | <a href="http://www.domain.com/store/pc/search.asp"> Search</a> |<a href="http://www.domain.com/store/pc/viewcontent.asp?idpage=2"> About </a>| <a href="http://www.domain.com/store/pc/viewcontent.asp?idpage=1">Policies</a> | <a href="mailto:sales@domain.com">Contact Us</a></div></td></tr>
<tr><td height="25" colspan="3" align="left" valign="top" bgcolor="#000000"><div align="center">
<div align="center"><br>
<a href="http://www.domain.com"><img src="Companysmall.png" alt="Company" width="426" height="45" border="0" longdesc="domain.com"></a>
<br>
<a href="http://www.instantssl.com" id="comodoTL">SSL</a>
<script type="text/javascript">TrustLogo("https://www.domain.com/store/pc/tl_transp.gif", "SC4", "none");</script>
<br>
<br>
© 2009-2010 OUR COMPANY / ALL RIGHTS RESERVED
<br>
<span class="style8">Website by <a href="Web Company" target="_parent">Web Company</a></span><br>
</div></td></tr></table>
<!--#include file="inc_footer.asp" -->
</body>
</html>
|
Last edited by BlackReef; 03-19-2010 at 04:33 AM..
|