Computers |
|
| | #15 (permalink) |
| Super Techie | Updating as I type this, how do I constrain the text to the maincontent div, I noticed while putting in some text it leaves the grey box. As Seen here |
| | |
| | #16 (permalink) |
| Retired. | 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> ![]()
__________________ ![]() My computer uses 1.5A-load, .8A-idle, .65A-standby, .05A-turned off on 125V. "The spaces between your fingers were created so that another's could fill them in." Last edited by peterhuang913; 05-05-2008 at 12:18 AM. |
| | |
| | #18 (permalink) |
| Retired. | 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>
__________________ ![]() My computer uses 1.5A-load, .8A-idle, .65A-standby, .05A-turned off on 125V. "The spaces between your fingers were created so that another's could fill them in." Last edited by peterhuang913; 05-05-2008 at 12:30 AM. |
| | |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Case layout | Apokalipse | Overclocking, Case Mod, Tweaking PC Performance | 151 | 12-16-2007 10:23 PM |
| New Layout | GuitarFreak1857 | Overclocking, Case Mod, Tweaking PC Performance | 15 | 11-07-2007 07:29 AM |
| Myspace Tags/Class IDs | Death Row | Web Graphics, design, digital images | 6 | 08-24-2007 03:52 AM |