dotkpay Posted September 13, 2011 Share Posted September 13, 2011 Hello, I have come across frame tags like <frame>, <frameset> and <iframe> that enable displaying an html document inside the current page. But what if I want to display content on the page inside a frame without putting it in another document. For example I want to put the statement "Hello, how are you" inside a frame and include that very statement within the parent code in the editor without putting the statement in another document. How do I go about this Thanks in advance Link to comment https://forums.phpfreaks.com/topic/247034-frame-without-external-document/ Share on other sites More sharing options...
Muddy_Funster Posted September 13, 2011 Share Posted September 13, 2011 by not using frames. CSS is what you are looking for. Link to comment https://forums.phpfreaks.com/topic/247034-frame-without-external-document/#findComment-1268658 Share on other sites More sharing options...
Stiver112 Posted September 20, 2011 Share Posted September 20, 2011 I belive you could just do it like this: <iframe>Hello, how are you</iframe> Link to comment https://forums.phpfreaks.com/topic/247034-frame-without-external-document/#findComment-1270936 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.