why my html table is getting out of my div?

Posted by Arindam Das on Stack Overflow See other posts from Stack Overflow or by Arindam Das
Published on 2012-11-23T10:53:58Z Indexed on 2012/11/23 10:59 UTC
Read the original article Hit count: 239

Filed under:
|
|

i have a html table inside a div but the table is getting out of the div's width, here is what i am doing :

  <div style="width: 920px">
                            <table style="width: 100%;">
                                <tr>
                                    <td>
                                        &nbsp;
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                            </table>
                        </div>

this is not working

© Stack Overflow or respective owner

Related posts about html

Related posts about table