Results 1 to 2 of 2

Thread: 100% isn't 100%? [resolved...myself]

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2004
    Posts
    15

    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?
    Last edited by fireloard; Jul 5th, 2004 at 06:11 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width