<html>
<head>
<style type="text/css">
#container_outer
{
width: 900px;
margin: 0 auto;
}
#container_top
{
height: 50px;
background-color: #555;
border-width:1px;
}
#container_bottom
{
height: 28px;
background-color: #555;
}
#container_middle
{
overflow: hidden;
background-color:lightgrey;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div id="container_outer">
<div id="container_top">
</div>
<div id="container_middle">
<br>
Sample Text
<br>
</div>
<div id="container_bottom">
</div>
</div>
</body>
</html>
see
Friday, July 22, 2011
Make the page center to the browser window
Just make "margin: 0 auto;" to make the page center to the browser window.. And see for sample code, just copy the following code & paste in notepad and save as .htm.
Thursday, February 3, 2011
Error: customErrors -- How to Upload ASP.NET website on domain?
I am new to asp.net. I have created a website in asp.net. i upload my website on server.
This website is properlly executing on my local computer. on uploading this website on webserver i got following error:
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL.
plz.. Solve me the problem.. what i am getting...
This website is properlly executing on my local computer. on uploading this website on webserver i got following error:
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's
plz.. Solve me the problem.. what i am getting...
Subscribe to:
Comments (Atom)