No replies
likethitnguoi
Offline
newbie
Last seen: 14 years 9 weeks ago
Joined: 2009-03-27
Posts: 1
Points: 0

Hi everybody, I have these code:

<table border="1" cellpadding="0" cellspacing="0" 
style="background: yellow; width: 100%"> 
                <tr> 
                    <td style="height: 10px"> 
                        <table id="tbl1" border="0" cellpadding="0" 
cellspacing="0" style="background: red; width: position: absolute; 
height: 50px;"> 
                            <tr> 
                                <td> 
                                </td> 
                            </tr> 
                        </table> 
                    </td> 
                    <td style="height: 10px"> 
                    </td> 
                    <td style="height: 10px"> 
                    </td> 
                </tr> 
                <tr> 
                    <td style="height: 10px"> 
                    </td> 
                    <td style="height: 10px"> 
                    </td> 
                    <td style="height: 10px"> 
                    </td> 
                </tr> 
            </table> 

My goal is to have the table "tbl1" with "position:absolute" so it can stand over it's parent table. Beside I want that table fit in it's parent column. With the "width:100%" and in IE browser, it can fit in it's parent column as I want, but in Firefox it does'nt. Sad . Can you help me? Or are there another solution for my goal. Thanks.

Sorry for my poor English Smile