Hi folks,
Can someone help me sort out the CSS for this page, I'm not that brilliant when it comes to CSS and this is a template from our intranet site. As you can see in the images below the header and boxes on the left side don't seem to expand out with the rest of the page.
page displayed correctly
header and boxes overlap
This is the CSS I am using:
Thanks
Can someone help me sort out the CSS for this page, I'm not that brilliant when it comes to CSS and this is a template from our intranet site. As you can see in the images below the header and boxes on the left side don't seem to expand out with the rest of the page.
page displayed correctly
header and boxes overlap
This is the CSS I am using:
Code:
/*****layout Divs*****/
/*this container centers the content in the browser and fixes the overall width*/
#wrapper {
width: 100%;
margin: 0 auto;
text-align: left;
border: 1px solid #4b4b33;/*themecolour1$ -21%,-68.6%;*/
background-color: #ffffec;/*themecolour1$ 46.7%,100%;*/
font-size: 80%;
color: #4b4b33;/*themecolour1$ -21%,-68.6%;*/
line-height: 1.5em;
}
#headertable {
background-color: #E2E3A9;
border-bottom: 1px solid #55551F;
}
.centretable {
margin-right: 10px;
margin-left: 10px;
}
#holderdiv {
width: 180px;
padding-right: 10px;
padding-left: 10px;
}
.leftcoldiv {
background-color: #eeeecc;
border: 1px solid #4b4b33;
width: 180px;
margin-top: 10px;
margin-right: 0px;
margin-bottom: 10px;
margin-left: 0px;
}
#wrapper #holderdiv .rightcoldiv .style1 {
color: #FFFFFF;
}
.rightcoldiv {
margin-top: 10px;
background-color: #eeeecc;
border: 1px solid #4b4b33;
margin-bottom: 10px;
}
#rightholderdiv {
width: auto;
padding-right: 10px;
padding-left: 10px;
}
/**Redefined html tags**/
/*defines the pagetitle bar*/
#pagetitle {
margin: 0;
background-color: #a7a786;
color: #ffffec;
font-size: 110%;
padding: 1px 5px;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #4b4b33;
text-align: center;
}
/*defines the font and page background image */
body {
font-family: "Trebuchet MS", Arial;
text-align: center;
font-size: 100%;
padding-top: 20px;
padding-bottom: 20px;
}
.right {
float: right;
}
.leftcoldiv p {
margin-top: 5px;
margin-right: 0px;
margin-bottom: 5px;
margin-left: 0px;
padding: 5px;
color: #333333;
font-size: 90%;
line-height: 1.3em;
}
.left {
float: left;
}
/*sets margins to 0 */
p {
margin-top: 0px;
margin-bottom: 0px;
}
.leftcoldiv h2 {
font-size: 110%;
margin: 0px;
color: #000000;
background-color: #a7a786;
padding-top: 1px;
padding-right: 5px;
padding-bottom: 1px;
padding-left: 5px;
border-top-width: 1px;
border-bottom-width: 1px;
border-top-style: solid;
border-bottom-style: solid;
border-top-color: #a7a783;
border-bottom-color: #4b4b33;
}
.leftcoldiv h3 {
margin: 0;
background-color: #a7a786;/*themecolour1$ -8.3%,-29.7%;*/
color: #000000;/*themecolour1%0;*/
font-size: 110%;
padding: 1px 5px;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #4b4b33;/*themecolour1$ -21%,-68.6%;*/
border-top-width: 1px;
border-top-style: solid;
border-top-color: #a7a783;/*themecolour1$ -8.3%,-29.7%;*/
border-left-width: 1px;
border-left-style: solid;
border-left-color: #a7a783;/*themecolour1$ -8.3%,-29.7%;*/
}
.rightcoldiv p {
font-size: 90%;
line-height: 1.3em;
color: #333333;
margin-top: 5px;
margin-right: 0px;
margin-bottom: 5px;
margin-left: 0px;
padding: 5px;
}
.leftcoldiv h4 {
margin: 0;
background-color: #a7a786;/*themecolour1$ -8.3%,-29.7%;*/
color: #ffffec;/*themecolour1$ 46.7%,100%;*/
font-size: 110%;
padding: 1px 5px;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #4b4b33;/*themecolour1$ -21%,-68.6%;*/
border-top-width: 1px;
border-top-style: solid;
border-top-color: #eeeecc;/*themecolour1;*/
}
.picturelink {
text-decoration: none;
}
#wrapper p {
margin-top: 0px;
margin-bottom: 0px;
padding-right: 8px;
padding-left: 8px;
}
.rightcoldiv h2 {
font-size: 110%;
margin: 0px;
color: #000000;
background-color: #a7a786;
padding-top: 1px;
padding-right: 5px;
padding-bottom: 1px;
padding-left: 5px;
border-top-width: 1px;
border-bottom-width: 1px;
border-top-style: solid;
border-bottom-style: solid;
border-top-color: #a7a783;
border-bottom-color: #4b4b33;
}
ol {
color: #4b4b33;
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
}
/*link styles*/
a:link {
color: #FF6633;/*themecolour1$ -8.3%,-29.7%;*/
text-decoration: none;
}
a:visited {
color: #FF6633;/*themecolour1$ -21%,-68.6%;*/
text-decoration: none;
}
ul {
font-weight: normal;
color: #4b4b33;
margin-top: 0px;
margin-bottom: 0px;
margin-left: 20px;
}
.footer {
font-size: 90%;
margin-left: 10px;
color: #848466;/*themecolour1$ -10%,-44.5%;*/
border-top-width: 1px;
border-top-style: solid;
border-top-color: #848466;/*themecolour1$ -10%,-44.5%;*/
padding-bottom: 10px;
margin-right: 10px;
text-align: center;
}
h1 {
font-size: 130%;
margin-top: 0px;
color: #000000;
font-family: Arial, Helvetica, sans-serif;
padding-top: 6px;
padding-left: 10px;
}
.recordqtytitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 80%;
font-style: italic;
color: #FF0000;
padding-left: 10px;
}
h2 {
font-size: 120%;
color: #000000;
margin-top: 4px;
margin-bottom: 2px;
}
a:link:hover {
color: #FF3300;/*themecolour1$ -12.5%,-53%;*/
text-decoration: none;
}
.NewsTitle {
font-size: 110%;
font-style: italic;
color: #949473;
}
.centrecoldiv {
margin-right: 215px;
margin-left: 215px;
border: 1px solid #4b4b33;
background-color: #EEEECC;
margin-top: 10px;
margin-bottom: 10px;
}
.centrecoldiv hr {
border-top-color: #8F8F6E;
border-right-color: #8F8F6E;
border-bottom-color: #8F8F6E;
border-left-color: #8F8F6E;
width: 95%;
}
s
.divider {
border-top-width: 1px;
border-top-style: solid;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
border-top-color: #4b4b33;
}
.centrecoldiv h4 {
margin: 0;
background-color: #a7a786;/*themecolour1$ -8.3%,-29.7%;*/
color: #ffffec;/*themecolour1$ 46.7%,100%;*/
font-size: 110%;
padding: 1px 5px;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #4b4b33;/*themecolour1$ -21%,-68.6%;*/
border-top-width: 1px;
border-top-style: solid;
border-top-color: #eeeecc;/*themecolour1;*/
}
.centredivider {
font-size: 90%;
margin-left: 10px;
color: #848466;/*themecolour1$ -10%,-44.5%;*/
border-top-width: 1px;
border-top-style: solid;
border-top-color: #848466;/*themecolour1$ -10%,-44.5%;*/
padding-bottom: 10px;
margin-right: 10px;
text-align: center;
}
.resultstext {
padding-left: 10px;
}
.rightcoldiv h4 {
margin: 0;
background-color: #a7a786;/*themecolour1$ -8.3%,-29.7%;*/
color: #ffffec;/*themecolour1$ 46.7%,100%;*/
font-size: 110%;
padding: 1px 5px;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #4b4b33;/*themecolour1$ -21%,-68.6%;*/
border-top-width: 1px;
border-top-style: solid;
border-top-color: #eeeecc;/*themecolour1;*/
}
Thanks