Jul 17, 2012, 2:17 AM
wrong style with razor
hi,everybody
why?
@model Test1.Models.WordViewModel
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<title>Section_1_1</title>
</head>
<body>
<div style="padding: 15px;">
<form method="post" target="_self" action="@(Url.Action("SaveData", "Home", new { sNum = 5 }))">
@Html.X().ResourceManager()
<h1>111111</h1>
<h6>222222</h6>
@(Html.X().TextArea()
.ID("1_1")
)
</form>
</div>
</body>
</html>
this code the word "111111" and "222222" are both bold only but have same size<div style="padding: 15px;">
<form method="post" target="_self" action="@(Url.Action("SaveData", "Home", new { sNum = 5 }))">
<h1>111111</h1>
<h6>222222</h6>
</form>
</div>
when I remove the @Html.X().ResourceManager() the word "111111" and "222222" are normalwhy?
Last edited by Daniil; Nov 23, 2012 at 3:30 PM.