开发者

<BODY> of the views in a "scaffolded" Ruby on Rails 3 web-app

do you know how can i modify the <BODY> tag of the rendered htmls files of my app's views? I mean, i can manually edit the html, but the <BODY> tag is added automatic in run ti开发者_如何转开发me... And i'd like to do something like

<body bgcolor="#0000FF">

Thanks!


You need to edit the application.html.erb in the layouts subfolder of views in your application.

Of course, you'd be much better of doing this in a stylesheet rather than the markup directly :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜