Help - Table in XML & CSS

Hari Prakash

Usenet Archive
Joined
Jul 15, 2004
Messages
3
Reaction score
0
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.
 

Martin Honnen

Usenet Archive
Joined
Apr 8, 2000
Messages
6,174
Reaction score
0
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.
 

Hari Prakash

Usenet Archive
Joined
Jul 15, 2004
Messages
3
Reaction score
0
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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,208
Messages
3,104,798
Members
249,594
Latest member
henrywalsh

Latest Threads

Top