Help - Table in XML & CSS

Discussion in 'XML' started by Hari Prakash, Jul 15, 2004.

  1. Hari Prakash

    Hari Prakash Guest

    Hi,

    Anybody please help me to transform the following code into XML & CSS.

    <table>
    <tr>
    <td colspan="2">Login Form</td>
    </tr><tr>
    <td>User name :</td><td><input type=text></td>
    </tr><tr>
    <td>Password :</td><td><input type=password></td>
    </tr><tr>
    <td colspan="2" align="right"><input type=submit></td>
    </tr>
    </table>

    Pls don't go for XSL or XSLT.

    Thanks,
    Hari Prakash.
     
    Hari Prakash, Jul 15, 2004
    #1
    1. Advertisements

  2. Hari Prakash wrote:


    > Anybody please help me to transform the following code into XML & CSS.
    >
    > <table>
    > <tr>
    > <td colspan="2">Login Form</td>
    > </tr><tr>
    > <td>User name :</td><td><input type=text></td>
    > </tr><tr>
    > <td>Password :</td><td><input type=password></td>
    > </tr><tr>
    > <td colspan="2" align="right"><input type=submit></td>
    > </tr>
    > </table>


    Well that looks like a snippet of HTML to me which corresponds to the
    following snippet of XHTML:

    <table xmlns="http://www.w3.org/1999/xhtml">
    <tr>
    <td colspan="2">Login Form</td>
    </tr><tr>
    <td>User name :</td><td><input type="text" /></td>
    </tr><tr>
    <td>Password :</td><td><input type="password" /></td>
    </tr><tr>
    <td colspan="2" align="right"><input type="submit" /></td>
    </tr>
    </table>

    I am not sure what you want to do with CSS here, it is certainly not
    going to replace the semantics of XHTML/HTML elements like input.


    --

    Martin Honnen
    http://JavaScript.FAQTs.com/
     
    Martin Honnen, Jul 15, 2004
    #2
    1. Advertisements

  3. Hari Prakash

    Hari Prakash Guest

    Thanks ( Re: Help - Table in XML & CSS)

    Dear Mr. Honnen,

    Thank you for spending your valuable time for helping me.
    It will solve some of my problems.

    Thank you one more,
    Hari Prakash T.V.S.
     
    Hari Prakash, Jul 15, 2004
    #3
    1. Advertisements

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. David Williams
    Replies:
    2
    Views:
    1,367
    Jacob Yang [MSFT]
    Aug 12, 2003
  2. Eric
    Replies:
    4
    Views:
    1,042
    clintonG
    Dec 24, 2004
  3. Rio
    Replies:
    4
    Views:
    1,459
  4. Tony Prichard
    Replies:
    0
    Views:
    1,005
    Tony Prichard
    Dec 12, 2003
  5. Replies:
    3
    Views:
    1,110
    richard
    Sep 24, 2006
  6. vitay
    Replies:
    8
    Views:
    774
    Stan McCann
    Nov 9, 2006
  7. Pradeep

    XML table display using CSS

    Pradeep, Nov 28, 2007, in forum: HTML
    Replies:
    7
    Views:
    1,532
    Jasbird
    Dec 1, 2007
  8. Erik Wasser
    Replies:
    5
    Views:
    842
    Peter J. Holzer
    Mar 5, 2006
Loading...