Help - Table in XML & CSS

H

Hari Prakash

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.
 
M

Martin Honnen

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.
 
H

Hari Prakash

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

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top