CSS Full Screen DIV Creating a full-screen div is easy with CSS. You may also want to check out my other articles on div positioning: center screen (URL: css-center-screen-div.html), top right corner (URL: css-top-right-corner-div.html), bottom left corner (URL: css-bottom-left-corner-div.html), and bottom right corner (URL: css-bottom-right-corner-div.html). You can click the following link to preview this CSS in action: Click here to preview full-screen div (URL: position-div-full-screen.html) The CSS Put this code inside the head tag: This CSS sets the div at the top-left corner, and makes it fill the screen. Now, just grab the XHTML (URL: #html) for the actual div. The HTML Place this code inside the body tag:
Here is my div content!!