阅读背景:

div的样式列表为带有css的2列布局

来源:互联网 

I'm trying out ASP.NET MVC 2 by going through the "NerdDinner" tutorial. But apparently version 2 of MVC doesn't create a Details page the same as in the tutorial, and you get divs with css classes on them to style. However, I want to get the style where each label is followed on the same line with the field, and I can't do it, I get them on top of each other, or if I try using floats weird things happen (probably because I don't know exactly how to use it in this situation, where every other div should be on the same line). Here's the generated html for the Details page:I'm trying out ASP.NET MVC 2 by going through t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: