Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

HTML - iframe CSS

  1. Jul 26, 2006 #1
    I once read on a tutorial that iframes are useful when you have non technical people writing text files to update a section of your web site, such as a secratery writing the news section.

    There are useful because you just upload a plain text text file to a location and the iframe will have it displayed with formatting. Such as colour, font, background, etc.

    How do you apply formatting to an iframe that way?

  2. jcsd
  3. Jul 27, 2006 #2
  4. Jul 27, 2006 #3
    Yeah if you have PHP you could use "include" to include a stylesheet to the file you're updating. The file can be a plain PHP page with only text and the include command at the top.
  5. Jul 27, 2006 #4


    User Avatar
    Science Advisor

    Last edited: Jul 27, 2006
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Discussions: HTML - iframe CSS
  1. HTML question (Replies: 4)

  2. HTML + Javascript + CSS (Replies: 11)

  3. Inline css (Replies: 1)