html5 - html th 3 cells rowspan colspan -


im not familiar rowspan , colspan enough...

im trying html (maybe css?) :

------------------------------------------ |          |    divided col    |         | |          |___________________|         | | col 1    | part  | part b  |  col 3  | |          |         |         |         | ------------------------------------------ |  data 1  | data 2a | data 2b |  data 3 | 

is possible? or use sort of image?

jsfiddle example

<table>     <tr>         <td rowspan="2">col 1</td>         <td colspan="2">divided col</td>         <td rowspan="2">col 3</td>     </tr>     <tr>         <td>part a</td>         <td>part b</td>     </tr>     <tr>         <td>data 1</td>         <td>data 2a</td>         <td>data 2b</td>         <td>data3</td>     </tr> </table> 

Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -