html - Table row span cell span -


this assignment need with. hate tables is, says:

"the first row in each table consists of 1 table cell spans 2 columns contain real estate listing name. second row in each table consists of 2 table cells."

my code:

<table>     <tr>         <th>             <h3>test</h3>         </th>     </tr>     <th rowspan="2"></th>     <td>something here !</td> </tr> </table> 

just wanted verify if did correctly? here's full code:

http://jsfiddle.net/4jzuc/

also, it's supposed this: http://screencloud.net/v/aa5y

you want span column, not row (colspan vs rowspan). think looking for.

<table>     <tr>        <th colspan="2">            title        </th>       </tr>     <tr>        <td>first cell</td>     </tr>                            <tr>        <td>second cell</td>     </tr> </table> 

Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -