Click here to Skip to main content
15,893,381 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am tring to use full space of browser but i cant some white space is left ting
ASP.NET
 <form id="form1" runat="server">
    <div>
        <table class="MainTable">
            <tr>
                <td>
                    <div >
                        <span>Some Titie</span>
</div>
</td>
</tr>
</table>
</div>


CSS
body
{
	font-size: 18px;
	min-height: 600px;
	color: #666666;
	font-family: Calibri;
	
	margin: 0;
}

.MainTable
{
	width: 100%;
	margin: 0;
	top: 0;
	padding: 0;
}
*
{
margin: 0;
	top: 0;
	padding: 0;
}
Posted

1 solution

Add:
CSS
HTML, BODY {
padding:0; margin:0;
}
 
Share this answer
 
Comments
Member-515487 9-Apr-13 6:37am    
no its nt wrking
Zoltán Zörgő 9-Apr-13 7:00am    
Than please be more concrete what you see, and in which browser. It would be better if you could upload a screenshot somewhere. Please note that we can't see your screen nor can we read your mind.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900