请各位看一下这个页面如何居中,帮一下了
我把我的源码发出来,
我是用nodeb.navigateurl= ".aspx "
nodeb.target= "_blank "
打开页面的
<%@ Page Language= "vb " AutoEventWireup= "false " Codebehind= "d_hl.aspx.vb " Inherits= "weblog.d_hl "%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN ">
<HTML>
<HEAD>
<title> 汇率设定 </title>
<meta name= "GENERATOR " content= "Microsoft Visual Studio .NET 7.0 ">
<meta name= "CODE_LANGUAGE " content= "Visual Basic 7.0 ">
<meta name= "vs_defaultClientScript " content= "JavaScript ">
<meta name= "vs_targetSchema " content= "http://schemas.microsoft.com/intellisense/ie5 ">
</HEAD>
<body MS_POSITIONING= "GridLayout ">
<form id= "Form1 " method= "post " runat= "server ">
<asp:label id= "Label19 " style= "Z-INDEX: 100; LEFT: 293px; POSITION: absolute; TOP: 17px " runat= "server "
ForeColor= "White " Font-Size= "Small "> 地区设定 </asp:label>
<asp:textbox id= "tbb " style= "Z-INDEX: 113; LEFT: 182px; POSITION: absolute; TOP: 89px " runat= "server "
Width= "78px "> </asp:textbox>
<asp:label id= "Label2 " style= "Z-INDEX: 112; LEFT: 140px; POSITION: absolute; TOP: 91px " runat= "server "
Font-Size= "Larger " Height= "19px " Width= "40px "> 币别 </asp:label>
<ASP:DATAGRID id= "myDataGrid " style= "Z-INDEX: 111; LEFT: 53px; POSITION: absolute; TOP: 219px "
ForeColor= "White " Height= "100px " Width= "310px " Runat= "Server " AutoGenerateColumns= "False "
AllowPaging= "True " HorizontalAlign= "Center " OnPageIndexChanged= "DataGrid_PageIndexChanged "
DataKeyField= "id " OnCancelCommand= "DataGrid_CancelCommand " OnEditCommand= "DataGrid_EditCommand "
PageSize= "5 " AllowSorting= "True " OnItemDataBound= "DataGrid_onItemDataBound ">
<ItemStyle Font-Size= "X-Small " ForeColor= "White "> </ItemStyle>
<HeaderStyle Font-Size= "X-Small " Font-Bold= "True " HorizontalAlign= "Center " ForeColor= "#FFFFCC "
BackColor= "Navy "> </HeaderStyle>
<FooterStyle Font-Size= "X-Small "> </FooterStyle>
<Columns>
<asp:TemplateColumn Visible= "False " HeaderText= "序号 ">
<HeaderStyle Font-Size= "2pt " ForeColor= "#990000 " Width= "2% "> </HeaderStyle>