causing a table cell to stretch the entire screen
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.
<table border="1" cellspacing="0" cellpadding="0" width="100%">
<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>
Is there a way to cause it to stretch all the way, even if a scrollbar exists?
thanks in advance
I do not see any tabular data that requires the use of <table>
Working web site is not the one that looks the same in a few graphical browsers, but the one that adequately delivers its content to any device accessing it.
I was using a simplified version of my code to deliver the problem.
My actual code requires the table.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)