Body {
Margin-left: 0px;
Margin-top: 0px;
Margin-Right: 0px;
Margin-bottom: 0px;
}
->
style>
hEAD>
body>
html>
The key is to join in the OnLoad event:
Window.opener = null; window.close ()
Ready picture:
http://javascript.internet.com ->
Image1 = new image ();
Image1.src = "image1.gif";
Image2 = new image ();
Image2.src = "image2.gif";
// end ->
script>
About two web refreshing problems
JS processing method:
a.htm
Alert ("wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww");
script>
B.htm
//Window.opener.location.Reload (); refresh father window
//Window.opener.location="2.htm"// redirect parent window to 2.htm page
Function closewindow ()
{
Window.opener.location.reload (); self.close ();
Window.opener.document.write ("sssssssssssssssssss");
}
script>
Background processing method:
Private btnforsubmit (Object Sender, Eventargs E)
{
...........