-2
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Menu.aspx.cs" Inherits="Menu" %>
<link rel="stylesheet" href="Styles/Menu.css" type="text/css" />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body style="position:absolute; margin: 0px; width:100%; height:100%;">
<form id="form1" runat="server">
<div style="text-align:center">
<p id="userID">User ID</p>
</div>
<br /><br />
<div id="content" style="text-align:center; position:relative;">
<asp:Button text="MS Walking Scale Test" runat="server" /><br />
<asp:Button Text="Get Results" runat="server"/>
<asp:Button ID="Button1" style="top:80%; position:relative;" Text="LogOut" runat="server" />
</div>
</form>
</body>
</html>
为什么我的按钮不是均匀中心?
为什么不包含第一个图像的实际代码? – codingbiz 2012-08-15 10:44:29
你在哪里学习如何对齐html元素?只是好奇... – nunespascal 2012-08-15 10:48:12
自学成才。我和iOS开发者主要是,但必须建立这个非常基础的网站,不用说我有点生疏。所以你有任何输入是不胜感激。 – geminiCoder 2012-08-15 10:52:14