开发者

How to use CSS inside serverfbml tag?

开发者 https://www.devze.com 2023-02-16 18:51 出处:网络
I am trying to develop a iframe based facebook application using ROR here is my code for开发者_开发知识库 view

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

精彩评论

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

关注公众号