Komikio Posted June 12, 2006 Share Posted June 12, 2006 Does anybody know how to embed a frame in a div container?This works for example: <div> <FRAMESET ROWS="*" BORDER=0 FRAMEBORDER=0 FRAMESPACING=0> <FRAME SRC="http://www.google.com"> </FRAMESET><noframes></noframes></div> but if we have multiple divs (as is normal for a website designed with css), it fails: <div> <div> Test </div> <div> <FRAMESET ROWS="*" BORDER=0 FRAMEBORDER=0 FRAMESPACING=0> <FRAME SRC="http://www.google.com"> </FRAMESET><noframes></noframes> </div></div> For everybody who's wondering why I want to embed a frame in a div container: I intend to use it for opening an FTP window in. If there is a simpler way to do this with regular divs, please tell me, for I haven't found a way yet. Link to comment Share on other sites More sharing options...
scott100 Posted June 12, 2006 Share Posted June 12, 2006 What your doing looks very incorrect, you can't put a frameset in a div, it doesn't work that way.Why don't you try using iframes instead: http://www.w3schools.com/html/tryit.asp?fi...=tryhtml_iframe Link to comment Share on other sites More sharing options...
aspnetguy Posted June 12, 2006 Share Posted June 12, 2006 FRAMESET replaces the BODY tag in a document. In a FRAMESET page I don't think you can use any other tags except FAMRESET and FRAME. Link to comment Share on other sites More sharing options...
justsomeguy Posted June 12, 2006 Share Posted June 12, 2006 I think you can also use <noframes> to specify text telling them to stop using Netscape 2. Link to comment Share on other sites More sharing options...
aspnetguy Posted June 12, 2006 Share Posted June 12, 2006 I think you can also use <noframes> to specify text telling them to stop using Netscape 2.<{POST_SNAPBACK}> Yup your right. NN2 whats wrong with that Link to comment Share on other sites More sharing options...
justsomeguy Posted June 12, 2006 Share Posted June 12, 2006 Oh nothing, it's a great browser, as long as you like pain and suffering. Link to comment Share on other sites More sharing options...
aspnetguy Posted June 12, 2006 Share Posted June 12, 2006 Oh nothing, it's a great browser, as long as you like pain and suffering.<{POST_SNAPBACK}> Hey I am learning OpenGL and C++ right now...there is no greater pain and suffering Link to comment Share on other sites More sharing options...
justsomeguy Posted June 12, 2006 Share Posted June 12, 2006 Yeah I've been there.. I hope you like matrix multiplication. Link to comment Share on other sites More sharing options...
Komikio Posted June 14, 2006 Author Share Posted June 14, 2006 Thanks for your answers. I'll try em and see if it works out. iframe looks promising. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now