SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist JordashTalon's Avatar
    Join Date
    Dec 2008
    Posts
    505
    Mentioned
    0 Post(s)
    Tagged
    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
    Location
    Sydney, NSW, Australia
    Posts
    16,799
    Mentioned
    25 Post(s)
    Tagged
    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

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">


Bookmarks

Posting Permissions

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