PDA

View Full Version : Coding help



tbh imo no m8
05-05-2006, 09:01 AM
www.xzoid.com as you can see where the nav is on the right there is a little gap in dreamweaver it shows no gap but on the browser it does :s. Here is the code.


<!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>
<title>Xzoid - 06</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
<!--
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #CCCCCC;
}
body {
background-color: #666666;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style></head>

<body>
<table width="1011" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<th width="56" rowspan="12" background="images/border_left.gif">&nbsp;</td>
<td height="4" colspan="3"><img src="images/header_top.gif" width="599" height="4" /></td>
<td colspan="10"><img src="images/nav_top.gif" width="301" height="4" /></td>
<th width="56" rowspan="12" background="images/border_right.gif">&nbsp;</td>
</tr>
<tr>
<td width="4" height="132" rowspan="8"><img src="images/header_left.gif" width="4" height="132" /></td>
<td width="591" height="132" rowspan="8"><img src="images/header.gif" width="591" height="132" /></td>
<td width="4" rowspan="8"><img src="images/header_right.gif" width="4" height="132" /></td>
<td width="5" rowspan="8"><img src="images/nav_left.gif" width="5" height="132" /></td>
<td height="3" colspan="3"><img src="images/nav1_top.gif" width="142" height="3" /></td>
<td width="4" rowspan="8"><img src="images/nav1_right.gif" width="4" height="132" /></td>
<td width="5" rowspan="8"><img src="images/nav2_left.gif" width="5" height="132" /></td>
<td colspan="3"><img src="images/nav2_top.gif" width="140" height="3" /></td>
<td width="4" rowspan="8"><img src="images/nav2_right.gif" width="4" height="132" /></td>
</tr>
<tr>
<td width="22" height="22"><img src="images/button_left.gif" width="22" height="22" /></td>
<td width="98"><img src="images/button_home.gif" width="98" height="22" /></td>
<td width="22"><img src="images/button_right.gif" width="22" height="22" /></td>
<td width="22"><img src="images/button_left.gif" width="22" height="22" /></td>
<td width="96"><img src="images/button_forum.gif" width="96" height="22" /></td>
<td width="22"><img src="images/button_right.gif" width="22" height="22" /></td>
</tr>
<tr>
<td height="21"><img src="images/button_left2.gif" width="22" height="21" /></td>
<td><img src="images/button_crews.gif" width="98" height="21" /></td>
<td><img src="images/button_right2.gif" width="22" height="21" /></td>
<td width="22"><img src="images/button_left2.gif" width="22" height="21" /></td>
<td width="96"><img src="images/button_resources.gif" width="96" height="21" /></td>
<td width="22"><img src="images/button_right2.gif" width="22" height="21" /></td>
</tr>
<tr>
<td height="21"><img src="images/button_left2.gif" width="22" height="21" /></td>
<td><img src="images/button_services.gif" width="98" height="21" /></td>
<td><img src="images/button_right2.gif" width="22" height="21" /></td>
<td width="22"><img src="images/button_left2.gif" width="22" height="21" /></td>
<td width="96"><img src="images/button_downloads.gif" width="96" height="21" /></td>
<td width="22"><img src="images/button_right2.gif" width="22" height="21" /></td>
</tr>
<tr>
<td height="21"><img src="images/button_left2.gif" width="22" height="21" /></td>
<td><img src="images/button_portfolios.gif" width="98" height="21" /></td>
<td><img src="images/button_right2.gif" width="22" height="21" /></td>
<td width="22"><img src="images/button_left2.gif" width="22" height="21" /></td>
<td width="96"><img src="images/button_competitions.gif" width="96" height="21" /></td>
<td width="22"><img src="images/button_right2.gif" width="22" height="21" /></td>
</tr>
<tr>
<td height="21"><img src="images/button_left2.gif" width="22" height="21" /></td>
<td><img src="images/button_products.gif" width="98" height="21" /></td>
<td><img src="images/button_right2.gif" width="22" height="21" /></td>
<td width="22"><img src="images/button_left2.gif" width="22" height="21" /></td>
<td width="96"><img src="images/button_aboutus.gif" width="96" height="21" /></td>
<td width="22"><img src="images/button_right2.gif" width="22" height="21" /></td>
</tr>
<tr>
<td height="21"><img src="images/button_left2.gif" width="22" height="21" /></td>
<td><img src="images/button_tutorials.gif" width="98" height="21" /></td>
<td><img src="images/button_right2.gif" width="22" height="21" /></td>
<td width="22"><img src="images/button_left2.gif" width="22" height="21" /></td>
<td width="96"><img src="images/button_contact.gif" width="96" height="21" /></td>
<td width="22"><img src="images/button_right2.gif" width="22" height="21" /></td>
</tr>
<tr>
<td height="2" colspan="3"><img src="images/nav1_bottom.gif" width="142" height="2" /></td>
<td colspan="3"><img src="images/nav2_bottom.gif" width="140" height="2" /></td>
</tr>
<tr>
<td height="4" colspan="3"><img src="images/header_bottom.gif" width="599" height="4" /></td>
<td colspan="10"><img src="images/nav_bottom.gif" width="300" height="4" /></td>
</tr>
<tr>
<td height="5" colspan="13"><img src="images/content_top.gif" width="899" height="5" /></td>
</tr>
<tr>
<td colspan="13">&nbsp;</td>
</tr>
</table>

<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</body>
</html>

D3stroyer
05-05-2006, 09:31 AM
This page is not Valid XHTML 1.0 Transitional!
Below are the results of checking this document for XML well-formedness and validity.

Error Line 98 column 130: document type does not allow element "form" here; missing one of "object", "applet", "map", "iframe", "ins", "del" start-tag.
...thod="post" action="processorder.php">
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").



Error Line 100 column 20: there is no attribute "bordercolor".
<tr bordercolor="#000000">
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.



Error Line 107 column 61: end tag for "input" omitted, but OMITTAG NO was specified.
... <input name="top" type="text" size="5" maxlength="5">
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".



Info Line 107 column 8: start tag was here.
<input name="top" type="text" size="5" maxlength="5">
Error Line 113 column 66: end tag for "input" omitted, but OMITTAG NO was specified.
...name="trousers" type="text" size="5" maxlength="5">


Info Line 113 column 8: start tag was here.
<input name="trousers" type="text" size="5" maxlength="5">
Error Line 119 column 64: end tag for "input" omitted, but OMITTAG NO was specified.
...put name="tshirt" type="text" size="5" maxlength="5">


Info Line 119 column 8: start tag was here.
<input name="tshirt" type="text" size="5" maxlength="5">
Error Line 133 column 69: end tag for "input" omitted, but OMITTAG NO was specified.
...submit" name="Submit" value="Submit your order">


Info Line 133 column 8: start tag was here.
<input type="submit" name="Submit" value="Submit your order">

tbh imo no m8
05-05-2006, 09:33 AM
Woops wrong link i meant www.xzoid.com/test

Jamie.
05-05-2006, 09:41 AM
wat do u want with it it looks fine :s

tbh imo no m8
05-05-2006, 09:45 AM
:S it doesn't for me :s.

D3stroyer
05-05-2006, 09:49 AM
Don't work for me only shows header, anyway i'm helping him, to learn how to code.

tbh imo no m8
05-05-2006, 09:52 AM
Ya :). I have only coded the header and nav so far.

Jamie.
05-05-2006, 09:56 AM
Don't work for me only shows header, anyway i'm helping him, to learn how to code.
kk wd =] i was going to ask if he needed help but i been buzy

Want to hide these adverts? Register an account for free!