Reputation: 1533
I've been asked by a client to create a standard HTML5 template but include a frame (Frameset not iframe) to use as the footer.
I've only worked with frames a handful of times so I don't really know if it's possible or not.
Here's a very simple example of what I need
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta name="description" content="" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div id="content">
<!-- ALL CONTENT GOES HERE -->
</div>
<!-- FOOTER FRAME WOULD GO HERE -->
</body>
</html>
Upvotes: 0
Views: 987
Reputation: 164
Theres a Semantic Tag named <footer>...</footer>
you should use for Footer, with Fixed Position and ID
Upvotes: 0
Reputation: 449425
From HTML5 differences from HTML4:
The following elements are not in HTML5 because using them damages usability and accessibility:
frame frameset noframes
what your client wants to do can be done within the page without using frames, even though it's not completely easy. One approach would be to have a content area that has overflow: auto
(causing it to be scrolled) and stretches almost to the bottom of the page.
Another approach is to have a footer div that is position: fixed
.
Upvotes: 1