That's the complete CSS code.
HTML Code:
<style type="text/css">
<!--
body {
color: #333;
width: 100%;
min-width:900px;
font-family: Verdana;
background-color: #FFFFFF;
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 */
font-size: 70%;
}
.twoColFixRtHdr #container {
min-width: 900px;
background: #FFFFFF;
margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
text-align: left; /* this overrides the text-align: center on the body element. */
}
.twoColFixRtHdr #header {
padding: 0 5px 0 10px; /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
height: 100px;
background: #355999;
}
.twoColFixRtHdr #header h1 {
color:#355999;
margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}
.twoColFixRtHdr #menu {
padding: 0 0px 0 0px; /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
height: 68px;
}
/*START - YOU ARE HERE*/
.youarehere {
background: url(images/subheaderbg.gif) repeat-x;
border:1px solid #b6b6b7;
padding:5px;
}
/*END - YOU ARE HERE*/
.twoColFixRtHdr #sidebar1 {
float: right; /* since this element is floated, a width must be given */
width: 200px; /* 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 */
}
.twoColFixRtHdr #mainContent {
margin: 0 200px 0 0; /* the right margin on this div element creates the column down the right side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
padding: 10px 10px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
}
.twoColFixRtHdr #mainContent h1 {
color:#355999;
font-size: 150%;
}
.twoColFixRtHdr #subfooter {
padding: 0 5px 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
background-image: url(images/subheaderbg.gif);
height:25px;
color:#333333;
}
.twoColFixRtHdr #footer {
padding: 0 5px 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
background-image: url(images/headerbg.gif);
height:25px;
color:#FFFFFF;
}
.twoColFixRtHdr #footer p {
margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
padding: 5px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}
.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;
}
/************************************/
/*Right Column*/
/************************************/
.rightTop {
background: url(images/headerbg.gif) repeat-x;
border:1px solid #b6b6b7;
font-weight:bold;
padding:5px;
color: #FFFFFF;
}
.right_cats {
text-align:center;
}
.rightBack {
background:#e2e2e2;
border-left:1px solid #b6b6b7;
border-right:1px solid #b6b6b7;
padding:6px;
}
.rightBacking {
background:#ecebeb;
border:1px solid #c3c3c3;
}
.rightBottomRight {
padding:0;
color:#fff;
height:14px;
}
.rightBottomLeft {
margin:0;
height:14px;
margin-right:26px;
}
/*Link Styles*/
A:link {
color:#355999;
font-weight:bold;
}
A:hover {
font-weight:bold;
text-decoration: underline;
}
A:active {
color:#355999;
font-weight:bold;
}
A:visited {
color:#355999;
font-weight:bold;
}
-->
</style><!--[if IE 5]>
<style type="text/css">
/* place css box model fixes for IE 5* in this conditional comment */
.twoColFixRtHdr #sidebar1 { width: 220px; }
</style>
<![endif]--><!--[if IE]>
<style type="text/css">
/* place css fixes for all versions of IE in this conditional comment */
.twoColFixRtHdr #sidebar1 { padding-top: 30px; }
.twoColFixRtHdr #mainContent { zoom: 1; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]-->
and this is the div code "
HTML Code:
.twoColFixRtHdr #sidebar1 {
float: right; /* since this element is floated, a width must be given */
width: 200px; /* 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 */
}
"
Thanks
Bookmarks