100% isn't 100%? [resolved...myself]
Ok so I setup some frames and I want a table in one frame to go right against the upper edge of the frame, left edge and right edge. I set my margins to zero and borders to all zero but the table still has some space on the right. If I set this to a huge pixel number it will actually scroll and THEN be at the right edge... but I want to use 100% so that the table will always be against the edges with different screen resolutions.
Here is my stylesheet
Code:
<frameset border=0 framespacing="0" frameborder=0 cols="20%,80%">
<frameset border=0 frameborder=0 framespacing=0 rows="10%,60%">
<frame src="logo.aspx" name="Logo" noresize frameborder="no" scrolling="no">
<frame src="menu.aspx" name="Menu" noresize frameborder="no" scrolling="auto">
</frameset>
<frameset border=0 frameborder=0 framespacing=0>
<frame src="main.aspx" name="Main" noresize frameborder="yes" scrolling="auto">
</frameset>
</frameset>
Then in the frame page
Code:
body
{
padding-right: 0px;
padding-left: 0px;
padding-bottom: 0px;
margin: 0px;
border-top-style: none;
padding-top: 0px;
border-right-style: none;
border-left-style: none;
background-color: white;
border-bottom-style: none;
}
finally the table
Code:
<asp:Table BackColor=Red Width=100% BorderWidth="0" CellPadding="0" CellSpacing="0" Runat=server>
<asp:TableRow>
<asp:TableCell><a href="bleh.html">Id</a></asp:TableCell>
<asp:TableCell><a href="bleh.html">Name</a></asp:TableCell>
<asp:TableCell><a href="bleh.html">Both</a></asp:TableCell>
</asp:TableRow>
</asp:Table>
any ideas?