Log in

View Full Version : more color required



hamfast
02-05-2008, 11:12 AM
Hello people

I'm wondering if you could help. I've included the css of my website - could anyone tell me how best to alter it. The web content is concentrated in the middle third of the screen which I'm happy with - but the outer thirds could do with some colour because currently they are plain white.

Is there an easy way to achieve this that will work with all browsers?

Thanks
H


body {
font-family: arial, tahoma, helvetica, verdana, sans-serif;
font-size:12px;
cursor:default;
color: #aaaaaa;
background-color:#FFFFFF
}
* {
margin: 0px;
padding: 0px;
text-decoration: none;
}
html {
height:100%;
margin-bottom:1px;
}
#container {
width: 750px;
margin-right: auto;
margin-left: auto;
text-align: left;
background-color: #FFFFFF;
color: #aaaaaa;
}
#header {
width:100%;
padding-top:15px;
}
.spacer {
width:100%;
height:15px;
}
hr {
border:0px;
color: #797979;
background-color:#CDCDCD;
height: 1px;
width: 99%;
text-align: left;
}
h1 {
font-size:28px;
color:#0000ff;
background-color:#FFFFFF;
font-family:Arial, Verdana, Helvetica, sans-serif;
font-weight:300;
}
h2 {
font-size:20px;
color:#0000ff;
font-family:Arial, Verdana, Helvetica, sans-serif;
font-weight:300;
background-color:#FFFFFF;
}
h3 {
color: #404040;
font-size:15px;
background-color:#fffffff;
text-align:left;
margin-left:20px;
margin-right:20px;
font-weight:900;
padding:5px;
}

h4 {
color: #0000FF;
font-size:13px;
background-color:#ffffff;
text-align:left;
margin-left:20px;
margin-right:20px;
font-weight:900;
padding:5px;
}

h5 {
color: #404040;
font-size:9px;
background-color:#ffffff;
text-align:center;
margin-left:20px;
margin-right:20px;
font-weight:900;
padding:5px;
}

h6 {
color: #0000FF;
font-size:4px;
background-color:#ffffff;
text-align:left;
margin-left:20px;
margin-right:20px;
font-weight:900;
padding:5px;
}



.top_main_heading {
margin-top:5px;
}

.minor_heading {
margin-top:5px;
}


.not_a_header {
margin-top:5px;
color:#000000;
}

#left {
float:left;
width:200px;
background-color:#FFFFFF;
color:#000000;
}
#leftcontent p {
color:#AAAAAA;
background-color:#FFFFFF;
font-size: 12px;
text-align:left;
margin-left:20px;
margin-right:20px;
}
#leftcontent ul {
list-style:none;
padding-left:20px;
color:#AAAAAA;
background-color:#FFFFFF;
}
#leftcontent a {
color:#000000;
text-decoration:none;
font-size:14px;
background-color:#FFFFFF;
line-height: 25px;
text-align: center;
padding-left: 20px;
}


#leftcontent a:hover {
color:#0000ff;
background-color:#FFFFFF;
text-decoration:underline;
}
#main {
float:left;
width:550px;
color:#999999;
background-color:#FFFFFF;
padding-bottom:20px;
background:url(img/background.png);
}
#maincontent p {
color: #666666;
background-color:#FFFFFF;
margin-left:20px;
margin-right:20px;
margin-bottom:1px;
line-height:20px;
padding:10px;
}
#maincontent a {
color:#0000ff;
background-color:#FFFFFF;
text-decoration:none;
}
#maincontent a:hover {
color: #0033FF;
background-color:#FFFFFF;
text-decoration:underline;
}
#footer {
clear:both;
width:750px;
font-size:12px;
font-family:Verdana, Arial, Helvetica, sans-serif;
}
#footer a {
color:#AAAAAA;
background-color:#FFFFFF;
text-decoration:none;
}
#footer a:hover {
color:#AAAAAA;
background-color:#FFFFFF;
text-decoration:underline;
}
.right {
color:#AAAAAA;
background-color: #3333CC;
float:right;
font-size:100%;
margin-top:5px;
}
.left {
color:#AAAAAA;
background-color:#FFFFFF;
float:left;
font-size:100%;
margin-top:5px;
}

BLiZZaRD
02-05-2008, 04:18 PM
I see you tried to wrap your content in code tags, but the posts use BBC code not HTML so your <code> needs to drop the <> and use [ ] instead.

As for your bg-color you change it here:



body {
font-family: arial, tahoma, helvetica, verdana, sans-serif;
font-size:12px;
cursor:default;
color: #aaaaaa;
background-color:#FFFFFF;
}


Use Hex colors for best browser support, #FFF is white, #000 is black... you can find complete lists on google for Hex Color Codes as a search.