Results 1 to 2 of 2

Thread: more color required

  1. #1
    Join Date
    Oct 2007
    Posts
    47
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default more color required

    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
    Code:
    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;
    }
    Last edited by thetestingsite; 02-05-2008 at 06:43 PM. Reason: wrapped in code tags

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    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:

    Code:
    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.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •