Posted by John Hosking on 01/21/08 20:43
Go Live wrote:
>
> I am trying to include textbox and dropdown in a single cell.
One wonders why.
> The
> things goes like this there is one radio button for textbox and one
> radio button for dropdown. Now when the user click one radio button
> texbox should appear in a <td> cell and when other radio button is
> clicked dropdown should appear in the same cell<td> by removing the
> textbox and viceversa.
>
> The code goes like this:
I have snipped your code for the following reasons:
1) You should have posted a URL to your page (preferably a simplified
test page, validated) as is customary here, instead of posting code.
2) This code is poorly formatted for usenet. Why do we need a nine-TAB
indent? This is hard to read.
3) This code is invalid. Visit http://validator.w3.org/
4) This code doesn't seem to be an attempt to place a textbox and
dropdown in a single cell. It looks like you want them in *different*
cells. But you've got an extra </td> which probably ought to be a <td>
and with messed-up code like this it's not easy to help you anyway.
You don't seem to have researched this much. Maybe if you have a read
through http://www.w3.org/TR/html4/interact/forms.html it'll help you.
--
John
Foolishly ignoring the UIP: http://improve-usenet.org/
Navigation:
[Reply to this message]
|