|
Posted by dittonamed on 12/14/06 10:34
Got it! That took out all the HTML oddities. One questions though... If
forms can't be opened in one td cell and closed in another td cell, how
is one supposed to use use tables to layout forms? In my example, it
seems necessary.
Thanks Steve for the reply
Steve Pugh wrote:
> dittonamed@gmail.com wrote:
> > To anyone who reads this, thank you very much. I have an annoying
> > problem hidden in the code below and I need your help. It causes
> > different problems in different browsers, but all point to a problem
> > with how the table tags are embedded. Dreamweaver even shows some lines
> > as highlighted yellow. I put a '%' in front of the lines that
> > dreamweaver highlights for a hint.
>
> Depending on how you've set your site up inside Dreamweaver, it may
> well not be aware of what the PHP is doing. So it may be judging your
> code on the assumption that the HTML it can see is the HTML that will
> be output. If you want to know what DW thinks of your actual code, save
> a copy of the of the published page and open that up in DW.
>
> However, there does seem to be a problem with your code as is:
>
> > % <td>
> > <form action="<?echo $PHP_SELF?>?loc=<?echo $loc?>" method="post" style="display: inline;">
>
> You start a form in one table cell, in one row
>
> > % </td>
> > % </tr>
> > <tr>
> > <td>
>
> > </form>
> > </td>
>
> And end it in another table cell, in another row. Fix that and see if
> the problem still exists.
>
> Steve
[Back to original message]
|