SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist JordashTalon's Avatar
    Join Date
    Dec 2008
    0 Post(s)
    0 Thread(s)

    Question Possible to edit Iframe via CSS

    I'm including an Iframe (The Google Chatback Widget) which uses an Iframe to display, is there anyway to alter the appearance of the content within the Iframe via CSS? I want to hide portions of the iFrame and make other parts bigger etc.. As it's hosted by Google I don't have access to edit the Iframe HTML directly.

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Sydney, NSW, Australia
    25 Post(s)
    1 Thread(s)
    No there isn't. CSS only applies to the page it is in and an iframe is a separate page.

    You would probably find thaqt trying to manipulate the appearance of the Google supplied info is against their terms of service and so wouldn't be allowed even if it were possible.
    Stephen J Chapman, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts