New Layout

Status
Not open for further replies.
Truly amazing, works like a charm. Should I repeat the same code for every page that i create with different content?

I.E Art/Links/Etc? Or Should I use an Iframe?
 
That style works, so you should repeat it. Iframes mean you browse within the site right? IMO, repeating seems nicer.

Also, replace footer with: "All contents copyright © 2008, [your full name]. All rights reserved"
 
Change:

Code:
<h1><img src="Main.jpg" alt="" height="108" width="780"></h1>

to

Code:
<h1><a href="http://www.objecterror.mischiev0us.net/"><img src="Main.jpg" alt="" height="108" width="780" style="border-style: none"></a></h1>
 
New code, change whole page's code to new one:

Code:
  <!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<style type="text/css">
/*<![CDATA[*/
 
<!-- 
body  {
        font: 100% Verdana, Arial, Helvetica, sans-serif;
        background: #000000;
        margin: 0;
        padding: 0;
        text-align: center; 
        color: #FFFFFF;
}
.twoColLiqLtHdr #container { 
        width: 60%;
        background: #333333;
        margin: 20px auto;
        border: 1px solid #000000;
        text-align: left;
} 
.twoColLiqLtHdr #header { 
        background: #000000; 
        padding: 0 10px;
} 
.twoColLiqLtHdr #header h1 {
        margin: 0; 
        padding: 10px 0; 
}
.twoColLiqLtHdr #sidebar1 {
        float: left; 
        width: 15%;
        padding: 0 0 10px;
        background: #000000; 
}
.twoColLiqLtHdr #sidebar1 h3, .twoColLiqLtHdr #sidebar1 p {
        margin-left: 10px; 
        margin-right: 10px;
}

.twoColLiqLtHdr #mainContent { 
        margin: 0 20px 0 8em; 
} 
.twoColLiqLtHdr #footer { 
        padding: 0 10px; 
        background:#000000;
} 
.twoColLiqLtHdr #footer p {
        margin: 0; 
        padding: 10px 0;
}
.fltrt { 
        float: right;
        margin-left: 8px;
}
.fltlft { 
        float: left;
        margin-right: 8px;
}
.clearfloat { 
        clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}
--> 
/*]]>*/
</style>
<!--[if IE]>
<style type="text/css"> 

.twoColLiqLtHdr #sidebar1 { padding-top: 30px; }
.twoColLiqLtHdr #mainContent { zoom: 1; padding-top: 15px; }

</style>
<![endif]-->
</head>
<body class="twoColLiqLtHdr">
<div id="container">
<div id="header">
<h1><img src="Main.jpg" alt="" height="108" width="780" /></h1>
<!-- end #header --></div>
<div id="sidebar1">
<h3><img src="Artwork_Tab.jpg" alt="" height="32" width="103" /></h3>
<h3><img src="Writing_tab.jpg" alt="" height="32" width="103" /></h3>
<h3><img src="About_Tab.jpg" alt="" height="32" width="103" /></h3>
<h3><img src="Linkshell.jpg" alt="" height="32" width="103" /></h3>
<p><img src="Links_tab.jpg" alt="" height="32" width="103" /></p>
<p><img src="Contact_Tab.jpg" alt="" height="32" width="103" /></p>
<!-- end #sidebar1 --></div>
<div id="mainContent">
<p>anything this is a test Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.</p>
<p>anything this is a test Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.</p>
</div>
<br class="clearfloat" />
<div id="footer">
<p>All contents copyright © 2008, [Aaron Bailey]. All rights reserved</p>
<!-- end #container --></div>
<!-- end #footer --></div>
</body>
</html>

Final:
endin4.png
 
I changed the code again.

Here:
Code:
  <!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<style type="text/css">
/*<![CDATA[*/
 
<!-- 
body  {
        font: 100% Verdana, Arial, Helvetica, sans-serif;
        background: #000000;
        margin: 0;
        padding: 0;
        text-align: center; 
        color: #FFFFFF;
}
.twoColLiqLtHdr #container { 
        width: 60%;
        background: #333333;
        margin: 20px auto;
        border: 1px solid #000000;
        text-align: left;
} 
.twoColLiqLtHdr #header { 
        background: #000000; 
        padding: 0 10px;
} 
.twoColLiqLtHdr #header h1 {
        margin: 0; 
        padding: 10px 0; 
}
.twoColLiqLtHdr #sidebar1 {
        float: left; 
        width: 15%;
        padding: 0 0 5%;
        background: #000000; 
}
.twoColLiqLtHdr #sidebar1 h3, .twoColLiqLtHdr #sidebar1 p {
        margin-left: 10px; 
        margin-right: 10px;
}

.twoColLiqLtHdr #mainContent { 
        margin: 0 20px 0 8em; 
} 
.twoColLiqLtHdr #footer { 
        padding: 0 10px; 
        background:#000000;
} 
.twoColLiqLtHdr #footer p {
        margin: 0; 
        padding: 10px 0;
}
.fltrt { 
        float: right;
        margin-left: 8px;
}
.fltlft { 
        float: left;
        margin-right: 8px;
}
.clearfloat { 
        clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}
--> 
/*]]>*/
</style>
<!--[if IE]>
<style type="text/css"> 

.twoColLiqLtHdr #sidebar1 { padding-top: 30px; }
.twoColLiqLtHdr #mainContent { zoom: 1; padding-top: 15px; }

</style>
<![endif]-->
</head>
<body class="twoColLiqLtHdr">
<div id="container">
<div id="header">
<h1><img src="Main.jpg" alt="" height="108" width="780" /></h1>
<!-- end #header --></div>
<div id="sidebar1">
<h3><img src="Artwork_Tab.jpg" alt="" height="32" width="103" /></h3>
<h3><img src="Writing_tab.jpg" alt="" height="32" width="103" /></h3>
<h3><img src="About_Tab.jpg" alt="" height="32" width="103" /></h3>
<h3><img src="Linkshell.jpg" alt="" height="32" width="103" /></h3>
<p><img src="Links_tab.jpg" alt="" height="32" width="103" /></p>
<p><img src="Contact_Tab.jpg" alt="" height="32" width="103" /></p>
<!-- end #sidebar1 --></div>
<div id="mainContent">
<p>anything this is a test Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium 

doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi 

architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur 

aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. 

Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia 

non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.</p>
<p>anything this is a test Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium 

doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi 

architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur 

aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. 

Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia 

non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.</p>
</div>
<!-- end #container --></div>
<div id="footer">
<p>All contents copyright © 2008, [Aaron Bailey]. All rights reserved</p>
<!-- end #footer --></div>
</body>
</html>
 
Status
Not open for further replies.
Back
Top Bottom