Hi kOLDSQ
Here is the code.
Place following in new Template call it say
Three Column Pixel Width Fixed Tops
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-GB">
<head>
<title>[(site_name)] - [*#pagetitle*] </title>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<meta name="description" content="Holy Grail 3 column liquid-layout: No Quirks Mode, No IE Conditional Comments" />
<meta name="keywords" content="Holy Grail 3 column liquid-layout: No Quirks Mode, No IE Conditional Comments" />
<meta name="robots" content="index, follow" />
<link href="assets/templates/threecolumn_px/css/style_tops.css" rel="stylesheet" type="text/css" />
<base href="[(site_url)]" />
</head>
<body>
<div id="fixed">
<div id="header">
{{3col_header_px_tops}}
</div>
<div id="colmask">
<div id="colmid">
<div id="colright">
<div id="col1wrap">
<div id="col1pad">
<div id="col1">
<!-- Column 1 start -->
{{3col_column1_px_tops}}
<!-- Column 1 end -->
</div>
</div>
</div>
<div id="col2">
<!-- Column 2 start -->
{{3col_column2_px_tops}}
<!-- Column 2 end -->
</div>
<div id="col3">
<!-- Column 3 start -->
{{3col_column3_px_tops}}
<!-- Column 3 end -->
</div>
</div>
</div>
</div>
<div id="footer">
{{3col_footer_px_tops}}
</div>
</div>
</body>
</html>
Place following CSS code in file
style_tops.css
body {
margin:0;
padding:0;
width:100%;
background:#696969;
min-width:600px; /* Minimum width of layout - remove line if not required */
/* The min-width property does not work in old versions of Internet Explorer */
font-size:90%;
text-align:center;
}
a {
color:#369;
}
a:hover {
color:#fff;
background:#369;
text-decoration:none;
}
h1, h2, h3 {
margin:.8em 0 .2em 0;
padding:0;
}
p {
margin:.4em 0 .8em 0;
padding:0;
}
img {
margin:10px 0 5px;
}
#header {
float:left;
width:100%;
height:205px; /* height of your header */
padding:0;
margin:0;
border-bottom:1px solid #000;
background:#696969 url(header.jpg)center no-repeat;
}
#header p {
padding:.5em 15px .2em 15px;
margin:0;
}
#header h1 {
padding:.2em 15px;
margin:0;
}
#header h2 {
padding:.2em 15px .7em 15px;
margin:0;
}
#colmask {
position:relative; /* This fixes the IE7 overflow hidden bug and stops the layout jumping out of place */
clear:both;
float:left;
width:100%; /* width of whole page */
overflow:hidden; /* This chops off any overhanging divs */
background:#ffd8b7; /* Left column background colour */
}
#colmid {
float:left;
width:200%;
position:relative;
left:200px;
background:#fff; /* Centre column background colour */
}
#colright {
float:left;
width:100%;
position:relative;
left:50%;
margin-left:-400px;
background:#ff9; /* Right column background colour */
}
#col1wrap {
float:right;
width:50%;
position:relative;
right:100%;
}
#col1pad {
margin:0 15px 0 415px;
overflow:hidden;
}
#col1 {
width:100%;
overflow:hidden;
}
#col2 {
float:left;
width:170px;
position:relative;
margin-left:-50%;
left:215px;
overflow:hidden;
}
#col3 {
float:left;
width:170px;
position:relative;
left:15px;
overflow:hidden;
}
#footer {
clear:both;
float:left;
width:100%;
padding:0;
margin:0;
border-top:1px solid #000;
background:#fff;
}
#footer p {
padding:.5em 15px;
}
#fixed {
margin:0 auto;
width:678px; /* width of your header */
text-align:left;
bakground:#696969; /* Outer container background colour */
}
Place above file in
assets/templates/threecolumn_px/css/
Copy your file
header.jpg To
assets/templates/threecolumn_px/css/
I know this may not seem right but is easy to reference in CSS. (change it if you like but saves time on loading.)
Create New Chunk
3col_column1_px_tops
Copy following code in chunk.
Create New Chunk
3col_column2_px_tops
Copy following code in chunk.
<h2>Chunk Column 2</h2>
TOPS
Your Column 2 code here
Create New Chunk
3col_column3_px_tops
Copy following code in chunk.
<h2>Chunk Column 3</h2>
TOPS
Your Column 3 code here
Create New Chunk
3col_footer_px_tops
Copy following code in chunk.
<h2>Chunk Footer</h2>
<p>This page uses the <a href="http://matthewjamestaylor.com/blog/holy-grail-no-quirks-mode.htm">Holy Grail Liquid-Layout: No quirks mode</a> & <a href="http://matthewjamestaylor.com/centered-menus/">Centered Menu's</a> by <a href="http://matthewjamestaylor.com">Matthew James Taylor</a>. View more <a href="http://matthewjamestaylor.com/blog/-website-layouts">website layouts</a> and <a href="http://matthewjamestaylor.com/blog/-web-design">web design articles</a>.</p>
<p>
[(site_name)] is powered by
<a href="http://modxcms.com/" title="Powered by MODx"><strong>MOD</strong>x Content Management System</a>
</p>
Create New Chunk
3col_header_px_tops
Just save no code. (at present)
I have not put double curley brackets around chunks.
I hope I have got it all correct. Let me know how it works for you.
Whatever content you place on page using this template will appear in center column.