<mobile:StyleSheet Runat="server">
<mobile:Style Name="userName" Font-Size="Small"></mobile:Style>
<mobile:Style Name="userPwd" Font-Size="Small"></mobile:Style>
</mobile:StyleSheet>
<mobile:Style Name="userName" Font-Size="Small"></mobile:Style>
<mobile:Style Name="userPwd" Font-Size="Small"></mobile:Style>
</mobile:StyleSheet>
px是像素的单位吧
pt才是字体大小的单位
错误 1 验证 (Mobile HTML): 此属性允许的值不包括“20pt”。
错误 2 无法从其“Size”属性的字符串表示形式“20pt”创建“System.Web.UI.MobileControls.FontSize”类型的对象。
属性里面是否包含class什么的,写相应的style来控制
然哦户正文是
<mobile:Form id="Form1" runat="server">
<mobile:Label Runat="server" StyleReference="userName">你是谁</mobile:Label>
</mobile:Form>