Hi
Take a look at this sample code:
The div span to the right of the screen which causes a horizontal scrollbar to apparear (which is excellent). The problem is that the top row of the table doesn't stretch to fit the entire screen. If I scroll horizontally, I can see it cut off where the edge of the screen is.Code:<html> <body> <table border="1" cellspacing="0" cellpadding="0" width="100%"> <tr> <td width="100%">title</td> </tr> <tr> <td style="position:relative;width:100%; height:100%; z-index:0;"> <!-- here I place a div at a specific screen coorinates (it spans to the right of the screen. I am doing it on purpose.--> <div style="position:absolute; left:500; top:40;width:1000px;height:20px"></div> </td> </tr> </table> </body> </html>
Is there a way to cause it to stretch all the way, even if a scrollbar exists?
thanks in advance


Reply With Quote

Bookmarks