You can't format an iframe's contents from the parent document can you?

Discussion in 'CSS' started by wolfestone, Aug 2, 2007.

  1. #1
    A page I'm working on has a small iframe which points to an .asp file and displays information. I'm not responsible for the source of the asp page, and I have to integrate it without having any control over it.

    I'd like to format it to match the background, font & color of the page which contains the iframe, but from what I've read you can't format the content of the iframe, just the frame itself (like border properties etc.)

    Is there another way around this? page scraping or similar would probably be beyond the scope of the project.

    Thanks for any help.
     
    wolfestone, Aug 2, 2007 IP
  2. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #2
    To answer the question in the thread title - no, you can't.
    The page included by an iframe can only be controlled by its own css.
     
    Clive, Aug 3, 2007 IP