Iframe in CSS???

Discussion in 'CSS' started by le007, Apr 7, 2009.

  1. #1
    Hi all -
    I have a link in a site where it sends the page to another site - however, I want to create an iframe where the new site is actually still on my site.

    Is an iframe the only way of doing this or does anyone know of a CSS way I haven't come across yet? Are iframes obsolete?

    Any suggestions would be welcome.
    Thanks
     
    le007, Apr 7, 2009 IP
  2. tajbaig

    tajbaig Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    check this :
    stackoverflow.com/questions/217776/how-to-apply-css-to-iframe
     
    tajbaig, Apr 8, 2009 IP
  3. Oxi

    Oxi Peon

    Messages:
    78
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i personally would never use an iframe. Object elements are more popular but don't work in IE (stupid browser). Iframes are frowned upon as they dont validate as well as many other various reasons. The professional method of including content from other sites on your own is to use server side includes. This can be done in a few languages including ASP and PHP. Its purely up to you what you do.
     
    Oxi, Apr 8, 2009 IP
  4. le007

    le007 Well-Known Member

    Messages:
    481
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #4
    Hi Oxi - I know PHP - does a php include work for external websites? IF so I'm elected!??!?!? :D
     
    le007, Apr 8, 2009 IP