Title: Using styles in iframe
Last modified: August 20, 2016

---

# Using styles in iframe

 *  [gdmarshall](https://wordpress.org/support/users/gdmarshall/)
 * (@gdmarshall)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/using-styles-in-iframe/)
 * I am fetching a few lines of text from another website I developed. The text 
   is showing up OK, but Somehow I can’t get style to work.
 * Here’s my iframe code:
 * [iframe style= “font-size:7px; font-family:Arial !important;” src=” [http://www.marshalls.org/tmtools/awards_recent.cgi?d=57&m=12&v2&#8243](http://www.marshalls.org/tmtools/awards_recent.cgi?d=57&m=12&v2&#8243);]
 * I can see from inspecting the displayed page with developer tools in Chrome or
   Firefox that the style I specified is in the iframe div, but it is not having
   an effect on the font. Any suggestions?
 * Thanks,
 * George
 * [http://wordpress.org/extend/plugins/iframe/](http://wordpress.org/extend/plugins/iframe/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [zex2911](https://wordpress.org/support/users/zex2911/)
 * (@zex2911)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/using-styles-in-iframe/#post-2861464)
 * link to your site?
 *  Thread Starter [gdmarshall](https://wordpress.org/support/users/gdmarshall/)
 * (@gdmarshall)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/using-styles-in-iframe/#post-2861492)
 * It’s right there in the post. Here it is again:
 * [http://www.marshalls.org/tmtools/awards_recent.cgi?d=57&m=12&v2](http://www.marshalls.org/tmtools/awards_recent.cgi?d=57&m=12&v2)
 * This is a page I developed specifically for this purpose.
 *  [zex2911](https://wordpress.org/support/users/zex2911/)
 * (@zex2911)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/using-styles-in-iframe/#post-2861495)
 * Sorry, but i can’t see it. I’m changing the font-size attribute and it works 
   fine. I changed font-family, it’s working.
    And that page is not running on wordpress?
 *  Thread Starter [gdmarshall](https://wordpress.org/support/users/gdmarshall/)
 * (@gdmarshall)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/using-styles-in-iframe/#post-2861511)
 * The page I’m pulling from is a very simple plain html page, minimal header plus
   a few lines of text.
    Is there a mistake in the way I coded the style option 
   above?
 *  [zex2911](https://wordpress.org/support/users/zex2911/)
 * (@zex2911)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/using-styles-in-iframe/#post-2861513)
 * no, i would not use in-line style if possible, but there is nothing wrong with
   it. Just change font-size to 22px and you will see the difference

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Using styles in iframe’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/iframe_99a44b.svg)
 * [iframe](https://wordpress.org/plugins/iframe/)
 * [Support Threads](https://wordpress.org/support/plugin/iframe/)
 * [Active Topics](https://wordpress.org/support/plugin/iframe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/iframe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/iframe/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [zex2911](https://wordpress.org/support/users/zex2911/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/using-styles-in-iframe/#post-2861513)
 * Status: not resolved