HELP... something in these few lines of HTML that will not validate at w3.org

Discussion in 'HTML' started by Matt James, Jan 6, 2005.

  1. Matt James

    Matt James Guest

    When trying to validate this page using w3.org, I get the following error
    message, (which relates to the bit of code copied below).....

    Line 238, column 23: start tag for "TR" omitted, but its declaration does
    not permit this

    I've tried all sorts... can someone tell me where I am going wrong ???

    Many thanks in advance for your very kind help.

    Cheers
    Matt

    _____________________________________________________________

    <tr>
    <td>
    <table width="95%" style="border: 2px solid #B5C1D7;" align="right"
    cellpadding="1" cellspacing="0" >
    <td>
    <FORM action="http://www.domainname.co.uk/search/ksearch.cgi" method="get"
    name="search">
    <div align="right"><span class="subheading">Site
    search... </span>
    <INPUT name="terms" type="text"
    class="formtext" onFocus="select(this);" value="" size=12>
    <br>
    <INPUT type="submit" class="formtext"
    value="Search">
    </div>
    </FORM></td>
    </table></td>
    </tr>
     
    Matt James, Jan 6, 2005
    #1
    1. Advertising

  2. Matt James

    Noozer Guest

    Asking three times won't make it go away...

    > <tr>
    > <td>
    > <table width="95%" style="border: 2px solid #B5C1D7;" align="right"
    > cellpadding="1" cellspacing="0" >
    > <td>



    You start a new table and then a new cell... where is the row for that cell
    to go into?

    Looks like something that you shouldn't be using a table for anyhow. Read
    about CSS.
     
    Noozer, Jan 6, 2005
    #2
    1. Advertising

  3. Matt James

    Mr Bean Guest

    Re: HELP... something in these few lines of HTML that will not validateat w3.org

    Noozer wrote:


    > Looks like something that you shouldn't be using a table for anyhow. Read
    > about CSS.



    It isn't alt.html group?

    If validates (now it will) is correct, soooooo......????????

    Which browser will have problem with that?
     
    Mr Bean, Jan 7, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt James
    Replies:
    5
    Views:
    515
  2. Matt James
    Replies:
    0
    Views:
    481
    Matt James
    Jan 6, 2005
  3. Murali
    Replies:
    2
    Views:
    593
    Jerry Coffin
    Mar 9, 2006
  4. PerlFAQ Server
    Replies:
    0
    Views:
    705
    PerlFAQ Server
    Feb 3, 2011
  5. PerlFAQ Server
    Replies:
    0
    Views:
    709
    PerlFAQ Server
    Apr 4, 2011
Loading...

Share This Page