Results 1 to 4 of 4

Thread: Advanced CSS - problem accessing iframe

  1. #1
    Join Date
    Oct 2007
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Advanced CSS - problem accessing iframe

    Advanced problem.........

    The basic look is like this

    html
    css ( this part here I can edit only, trying to change colors in external.html )

    body
    content from content management software

    Iframe
    external.html ( this comes from third party company )
    Iframe

    body



    Trying to apply css on all pages to have uniform look.
    The web site uses some management software with templates etc.
    problem:
    There is one external company that provides some ugly looking page. their page is included through some template link and the html page is included in this site through iframe tags.......

    I am trying to override style settings the classes and id(s) of that external file from main css style.....

    with no success.....

    Anybody knows something how to or any tips......

  2. #2
    Join Date
    Aug 2007
    Location
    Somewhere in the vicinity of Betelgeuse
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Unfortunately there's no CSS way of doing this. You also can't do it with JavaScript because the page loaded is from a different domain and the security restrictions built into JavaScript will prevent you from accessing that page. What you could do is load the page server-side, tweak it to your requirements and then send it to the iframe (if that makes sense).

  3. #3
    Join Date
    Apr 2006
    Posts
    205
    Thanks
    11
    Thanked 0 Times in 0 Posts

    Default

    What you could do is load the page server-side, tweak it to your requirements and then send it to the iframe (if that makes sense).
    That makes sense to me but sounds complicated.

    Perhaps there's a human solusion. You could redesign the 'ugly looking pages' and put a proposal to the people responsible for them. Perhaps they would be happy for you to redesign them.

    Peace

  4. #4
    Join Date
    Oct 2007
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you for comments....

    TO Mr. Moo:

    What do you mean "you could load page server side".....? I mean I understand it, but could you provide any specific details for example, so I can quiz the Content management company on their side.
    if you could.........

    My question would be how to dynamicly update content on the end user side....
    to dog:

    I wish.........

    they are two seperate companies involved.

    1. Content management part with their templates and so much limitations.
    2. The external company that is sending this data to the site via link in this content management application. data is from database probably.....and I think they are sending it many different web sites. That's my feeling.....


    Anyway than you both for taking time to respond......

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
  •