html - Table formatting different after div tag -


i have table like

<table> <tr> <td>name</td> <td><select ></select</td></tr> </table> <div> </div> <table> <tr> <td>class</td> <td><select></select></td></tr> </table> 

however see table after div gets different formatting , compared first table before div.

for example if see in browser looks like:

name----------select list(- represents space)

class-- select combo

the formatting select combo class quiet different , gives less space compared first table.i have not applied styles table.

inserting div inside table not possible. *note : spaces specified -*

you should use <td> in <tr>; try modify code this:

<table>   <tr>     <td>name</td>     <td><select></select></td>   <tr> </table> <div> </div> <table>   <tr>     <td>class</td>     <td><select></select></td>   <tr> </table> 

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -