All pastes #762849 Raw Edit

Zeug

public css v1 · immutable
·published 2007-11-05 23:06 UTC
rendered paste body
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.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><link href="layout.css" rel="stylesheet" type="text/css" /><!--[if IE 5]><style type="text/css"> /* place css box model fixes for IE 5* in this conditional comment */.twoColFixLt #sidebar1 { width: 230px; }</style><![endif]--><!--[if IE]><style type="text/css"> /* place css fixes for all versions of IE in this conditional comment */.twoColFixLt #sidebar1 { padding-top: 30px; }.twoColFixLt #mainContent { zoom: 1; }/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */</style><![endif]--></head><body class="twoColFixLt"><div id="container">  <div id="mainContent">  </div>      <div id="sidebar1">  </div>  <br class="clearfloat" /></div><div id="middle">home</div>  <br class="clearfloat" /><div id="container">  <div id="mainContent2">    <h1> Main Content </h1>    <p>&nbsp;</p>  </div>      <div id="sidebar2">    <h3>Sidebar1 Content</h3>    <p>&nbsp;</p>  </div>	<br class="clearfloat" /></div></body></html>/* CSS */@charset "utf-8";body  {	font: 100% Verdana, Arial, Helvetica, sans-serif;	background: #666666;	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */	padding: 0;	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */	color: #000000;}.twoColFixLt #container {	width: 780px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */	height: 260px;	background: #FFFFFF; /* the auto margins (in conjunction with a width) center the page */	border: 0px solid #000000;	text-align: left; /* this overrides the text-align: center on the body element. */	padding: 0px;	margin-top: 0;	margin-right: auto;	margin-bottom: 0;	margin-left: auto;}.twoColFixLt #container2 {	width: 780px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */	background: #FFFFFF; /* the auto margins (in conjunction with a width) center the page */	border: 0px solid #000000;	text-align: left; /* this overrides the text-align: center on the body element. */	padding: 0px;	margin-top: 0;	margin-right: auto;	margin-bottom: 0;	margin-left: auto;}.twoColFixLt #middle {	width: 780px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */	height: 32px;	background: #FFFFFF url(gfx/layout/middle.png); /* the auto margins (in conjunction with a width) center the page */	border: 0px solid #000000;	text-align: left; /* this overrides the text-align: center on the body element. */	padding: 0px;	margin-top: 0;	margin-right: auto;	margin-bottom: 0;	margin-left: auto;}.twoColFixLt #mainContent {	float: left; /* since this element is floated, a width must be given */	margin-left: 0px;	width: 520px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */	height: 260px;	background: #EBEBEB url(gfx/layout/head.jpg);	padding-top: 0px;	padding-right: 0px;	padding-bottom: 0px;	padding-left: 0px;	}.twoColFixLt #mainContent2 {	float: left; /* since this element is floated, a width must be given */	margin-left: 0px;	width: 520px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */	background: #FFFFFF;	padding-top: 0px;	padding-right: 0px;	padding-bottom: 0px;	padding-left: 0px;	}.twoColFixLt #sidebar1 {	background: #fff url(gfx/layout/upright.png);	width: 240px;	height: 260px;	margin-top: 0;	margin-right: 0;	margin-bottom: 0;	margin-left: 520px;	padding-top: 0;	padding-right: 0px;	padding-bottom: 0px;	padding-left: 0px;} .twoColFixLt #sidebar2 {	background: #fff url(gfx/layout/sidebardown.png);	width: 240px;	margin-top: 0;	margin-right: 0;	margin-bottom: 0;	margin-left: 520px;	padding-top: 0;	padding-right: 0px;	padding-bottom: 0px;	padding-left: 0px;} .fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */	float: right;	margin-left: 8px;}.fltlft { /* this class can be used to float an element left in your page */	float: left;	margin-right: 8px;}.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */	clear:both;    height:0;    font-size: 1px;    line-height: 0px;}