| View previous topic :: View next topic |
| Author |
Message |
ChrisL
Joined: 01 Jun 2005 Posts: 1
|
Posted: Wed Jun 01, 2005 11:57 am Post subject: Tidy Table Up |
|
|
I have got a web page that someone else designed and havnt designed it very well.
I went to get it validated with W3C yesterday and there is some tags in there that W3C doesnt like, if i take them out then the whole page messes up, if i leve them in it wont be validated, below is my code.
<table width="752" border="0" cellpadding="0" cellspacing="0" class="Middle">
<tr><td><img src="images/SearchLeft.gif" width="305" height="46" alt="Search Left"></td>
<td valign="top">
<table border="0" cellpadding="0" cellspacing="0">
<form action="http://www.djs-only.co.uk/shop/advanced_search_result.php" method="get">
<td><p class="NoBreakBeforeAfter"><img src="images/Search.gif" width="139" height="27" alt="Search"></p></td>
<tr><td class="Search"><p class="NoBreakBeforeAfter" align="center"><input name="keywords" type="text" class="Ancho120 Alto17" id="text1" size="10"></p></td></tr>
</form>
</table>
</td>
<td width="100%"><img src="images/HaederRight.gif" width="306" height="46" alt="Header Right"></td>
<td><img src="images/spacer.gif" width="1" height="25" alt="Spacer"></td>
</tr>
</form>
</table>
It also doesnt like the <form> tag that i have put in and wont accept it no matter where i put it
The index is www.djs-only.co.uk/
Can anyone help? |
|
| Back to top |
|
 |
|
|
ReFredzRate 1000+ Club

Joined: 20 Aug 2004 Posts: 2186 Location: Netherlands
|
Posted: Wed Jun 01, 2005 12:17 pm Post subject: Re: Tidy Table Up |
|
|
| Working on it |
|
| Back to top |
|
 |
ReFredzRate 1000+ Club

Joined: 20 Aug 2004 Posts: 2186 Location: Netherlands
|
Posted: Wed Jun 01, 2005 12:33 pm Post subject: Re: Tidy Table Up |
|
|
| I found some minor mistakes. I rebuilt the source you passed on in a new html file. It seems that there's 1 </form> tag too many in it. Besides that, the form seems to be built up in the wrong place. Try putting the tags around the <table></table> tags instead of the <td></td> tags. If that doesn't help, let us know. |
|
| Back to top |
|
 |
|