Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3752760
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T09:17:29+00:00 2026-05-19T09:17:29+00:00

I am working on a Facebook iFrame application, and have a question about styling.

  • 0

I am working on a Facebook iFrame application, and have a question about styling.

I want the application content to look like the rest of facebook. So the most obvious approach I could think of was to use a stylesheet provided by Facebook for application development that includes such styles. However I cannot seem to find anything about this on developers.facebook.com or any other site for that matter.

I have created some FBML application earlier, and these was able to use Facebook styles directly since the application content was rendrered within the facebook pages. But iframes does not inherit the stylesheet from the parent content (nor should they), so I was wondering how (or possibly if) this can be done.

I have found some posts/blogs that simply tells you to create an application stylesheet that mimics the Facebook look. But I don’t think this is a very good idea, as this CSS must be updated every time anything changes on Facebook. It also seems that all facebook wiki pages regarding CSS (which I have used before) has been removed.

The reason I do not want to use FBML Canvas is that Facebook is in the process of deprecating this approach. They recommend new applications to be created using iframes.

http://developers.facebook.com/docs/reference/fbml/

I really hope anyone has any good ideas on this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T09:17:29+00:00Added an answer on May 19, 2026 at 9:17 am

    There is no official way. For some reason, FB shards their styles to a ridiculous degree. They also change the filename rather than appending a version parameter every time they make a change to prevent downstream caching. Here’s an example of todays stylesheets:

    http://static.ak.fbcdn.net/rsrc.php/y-/r/40PDtAkbl8D.css
    http://b.static.ak.fbcdn.net/rsrc.php/yE/r/u7RMVVYiOcY.css
    http://static.ak.fbcdn.net/rsrc.php/yT/r/P-HsvhlyVjJ.css
    http://static.ak.fbcdn.net/rsrc.php/yT/r/CFyyRO05F0N.css
    http://static.ak.fbcdn.net/rsrc.php/y0/r/k00rCIzSCMA.css
    http://b.static.ak.fbcdn.net/rsrc.php/yv/r/BJI6bizfXHL.css
    http://b.static.ak.fbcdn.net/rsrc.php/yD/r/rmbhh_xQwEk.css
    http://b.static.ak.fbcdn.net/rsrc.php/yn/r/xlsrXFt9-vD.css
    http://b.static.ak.fbcdn.net/rsrc.php/yN/r/Uuokrl6Xv3c.css
    http://b.static.ak.fbcdn.net/rsrc.php/y0/r/klTGALEjWM8.css
    http://b.static.ak.fbcdn.net/rsrc.php/yN/r/mlYhlJwnCdr.css
    http://b.static.ak.fbcdn.net/rsrc.php/yT/r/uFI2FW2LitH.css
    http://b.static.ak.fbcdn.net/rsrc.php/yh/r/5Bzj1255G1S.css
    http://b.static.ak.fbcdn.net/rsrc.php/yp/r/5UteuBI1b8_.css
    

    You can automate this process fairly easily using either PHP or .NET using existing solutions Minify and Combiner respectively.

    A simpler method would be to use the Web Developer toolbar for Firefox, go to Facebook and choose the Web Developer toolbar option to “view CSS” which will bunch all the CSS up for you. Copy and paste it into your own local stylesheet and you only have to update when Facebook makes a major change.

    So while there is no simple way (that I am aware of), there are methods for you take care of it in a fairly speedy manner.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Working on a project at the moment and we have to implement soft deletion
Working with TCL and I'd like to implement something like the Strategy Pattern .
Working with an Oracle 9i database from an ASP.NET 2.0 (VB) application using OLEDB.
Working with dates in ruby and rails on windows, I'm having problems with pre-epoch
Working with a SqlCommand in C# I've created a query that contains a IN
Working on a somewhat complex page for configuring customers at work. The setup is
Working on a project that parses a log of events, and then updates a
Working with python interactively, it's sometimes necessary to display a result which is some
Working in Eclipse on a Dynamic Web Project (using Tomcat (v5.5) as the app
Working on a project where a sequential set of methods must be run every

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.