开发者

How to use CSS inside serverfbml tag?

I am trying to develop a iframe based facebook application using ROR

here is my code for开发者_开发知识库 view

  %fb:serverfbml.fbml-server
    %script{:type => "text/fbml"}
      %fb:fbml
        = stylesheet_link_tag "http://serveraddress/stylesheets/main.css"
        .title Check the Deck

the css simply doesn;t apply

i have accessed the css using absolute address and it has all the css for my application.

Thanks


You can't link to a css in serverfbml, however you can embed the actual css directly into the serverfbml block. They will be processed and recognized - but they need to be inside the block.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜