cssgrids-fluid-source.mustache revision fa99b3cab01c8622489456804078ff7814fac260
<html>
<head>
<style>
/* everything below is custom styling to demonstrate how to create a page layout using yui grid units */
/* 3 column fluid layout (either side column is optional, just omit the layout padding) */
#layout {
padding-left:300px; /* "left col" width */
padding-right:150px; /* "right col" width */
}
#nav {
margin-left:-300px; /* "left col" width */
width:300px;
}
#extra {
width:150px;
margin-right:-150px; /* "right col" width */
}
#main {
width:100%;
}
/* arbitrary content styling */
#hd, #nav .content, #main .content, #extra .content, #ft {
border: 5px solid #ccc;
height: 400px;
}
#hd, #ft {
height: 40px;
}
</style>
</head>
<body>
<div id="hd">
<h1>Fluid Layout Template</h1>
</div>
<div class="yui3-g" id="layout">
<div class="yui3-u" id="nav">
<div class="content"></div>
</div>
<div class="yui3-u" id="main">
<div class="content"></div>
</div>
<div class="yui3-u" id="extra">
<div class="content"></div>
</div>
</div>
<div id="ft"></div>
</body>
</html>