Web Analytics Made Easy -
StatCounter CSS iframe question - CodingForum


No announcement yet.

CSS iframe question

  • Filter
  • Time
  • Show
Clear All
new posts

  • CSS iframe question

    I'm a novice when it comes to HTML/CSS, but I know some of the basics and have built a few websites. I have an iframe on my page in which I load a text file. The iframe is a certain height, and the text file takes up roughly 3/4 of it with a list of tournament standings. Is there a way I can keep the text black on white, but make the rest of the iframe background a different color? I want to keep it the same size, but I'm not sure how to do this if it is possible. Thanks in advance!


  • #2
    The only way to style the HTML in the iframe is using CSS attached to that HTML.
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.