When I add a new strongly-typed view in VStudio 2010, I get fields layed out like this.
<div class="display-label">Id</div>
<div class="display-field"><%= Html.Encode(Model.Id) %></div>
In 2008, it used to use p tags instead of all these divs, my css is set up to handle the p tags properly, but since upgrading I have these now, so I have to spend time editing by hand removing the divs and adding p tags. (Plus, I just like the idea of using logical p tags instead of this mess.)
Is there a way I can modify the template?
Yes, you can. This if for MVC3 but I believe it is very similar if not the same for MVC2.
You can also override the templates by creating your own display templates. Brad Wilson shows this… and one more….