<!DOCTYPE html> <!-- This is just my basic HTML5-valid template. Make sure you set this up correctly for your personal needs -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<style type="text/css">
* {
margin: 0;
padding: 0;
}
div {
float: left;
color: white;
text-align: center;
}
#page_Wrapper {
width: 700px; /*Change this and everything else will automatically resize to fit*/
height: auto;
float: none; margin: auto; /*Align the entire content to the center of the screen*/
margin-top: 20px; /*Offset the entire content so that it's not stuck to the top of the window*/
}
#content_Wrapper {
width: 100%;
height: 500px;
}
#header {
width: 100%;
height: 75px;
background-color: red;
}
#nav {
width: 16%;
height: 100%;
background-color: green;
}
#content {
width: 84%;
height: 50%;
background-color: pink;
}
#sidebar {
width: 42%;
height: 50%;
background-color: yellow;
}
#gallery {
width: 42%;
height: 50%;
background-color: purple;
}
#footer {
width: 100%;
height: 75px;
background-color: black;
}
/*
...
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Console
Debug your Fiddle with a minimal built-in JavaScript console.