Baxtex Posted April 8, 2011 Share Posted April 8, 2011 So, i was planning on using Frames on my website, but i found out that that won't be supported in future versions of HTML (like HTML5?). So my question is; how do you make "frames" without HTML code? Link to comment Share on other sites More sharing options...
jeffman Posted April 8, 2011 Share Posted April 8, 2011 The kinds of things people have used frames for in the past can be handled with a server-side language like PHP. Usually an include directive does the trick. When "frame" content needs to be dynamic, AJAX makes a good alternative. You just ask your server for new content, and when it arrives you embed it in a div or something.The advantage to both these solutions is that the content being sent by the server is typically smaller, so it arrives more quickly. In the case of server-side includes, there is no additional time at all, because the embedding takes place before downloading. Link to comment Share on other sites More sharing options...
pjsfchaplin Posted April 22, 2011 Share Posted April 22, 2011 In terms of layout, you may want to use:html, body { display: block; height: 100%;}Then use div tags with{ display: inline-block; overflow-y: scroll;}Or similar. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.