how to use colspan in html

Posted by Shanky11 under HTML 5 on 2/27/2013 | Points: 10 | Views : 2191 | Status : [Member] | Replies : 2
if i make ist row 2nd data column colspan=2 then in second row when i write in 2nd td colspan=2 then in secomd row nothing is happening
why


<html>
<body>

<table border="1">

<tr style="height:75px">
<td style="width:25%"></td>
<td style="width:25%" colspan="2"><h2>Welcome to Login Page</h2></td>
<td style="width:25%"></td>
<td style="width:25%"></td>
</tr>
<tr style="height:75px">

<td style="width:25%"></td>
<td style="width:25%">Login</td>
<td style="width:25%"></td>
<td style="width:25%"></td>
</tr>
</table>

</body>
</html>




Responses

Posted by: Satyapriyanayak on: 2/27/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
Refer
http://www.htmlcodetutorial.com/tables/_TD_COLSPAN.html
http://www.w3schools.com/tags/att_td_colspan.asp

If this post helps you mark it as answer
Thanks

Shanky11, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Murugavelmsc on: 2/27/2013 [Member] Starter | Points: 25

Up
0
Down
http://www.velocityreviews.com/forums/t159115-colspan-rowspan-html-table.html
http://www.hitmill.com/html/tables/two_g.html

Regards,
Murugavel S
murugavel.sadagopan@gmail.com
http://murugavelmsc.blogspot.in/

Shanky11, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response