1.链接外部样式表
<link rel="stylesheet" href="~/css/login.css" type="text/css" />
href是样式表路径
2.直接写进head标签内
<head>
<style type="text/css">
#btnLogin
{
width: 0px;
height: 0px;
border-style: none;
background-color: White;
}
</style>
</head>
3.内联定义 (Inline Styles)
内联定义即是在对象的标记内使用对象的style属性定义适用其的样式表属性
<p style="margin-left: 0.5in; margin-right:0.5in">这一行被增加了左右的外补丁<p>