Background color problems

Discussion in 'CSS' started by Hobbit2, Dec 13, 2006.

  1. #1
    Hobbit2, Dec 13, 2006 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    Well, you could do something like this:
    
    body {
        background-color: orange;
        }
    Code (markup):
    cheers,

    gary
     
    kk5st, Dec 13, 2006 IP
  3. Hobbit2

    Hobbit2 Active Member

    Messages:
    720
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Hobbit2, Dec 13, 2006 IP
  4. intrinzik

    intrinzik Peon

    Messages:
    360
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #4
    The code for the background isnt in the css file, its in the html;
    <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://thp8.net/xmlrpc.php?rsd" />
    <body>
    <table cellspacing="0" style="padding: 0; height: 100%; width: 100%;">
    <tr>
    	[B]<td style="background-color: #2a2a2a;">&nbsp;</td>[/B]
    	<td style="width: 32px;">&nbsp;</td>
    	<td style="width: 717px; padding: 10px 0; vertical-align: top;">
    		<div id="topimage">
    			<a href="http://thp8.net/"><img src="http://thp8.net/boards/templates/NoseBleed/images/top_image.jpg" style="border: 0;" /></a><br />
    <br>
    
    Code (markup):
    Regards ;)
     
    intrinzik, Dec 13, 2006 IP
  5. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #5
    Then perhaps that's what you should ask for in the first place.

    gary
     
    kk5st, Dec 13, 2006 IP
  6. Hobbit2

    Hobbit2 Active Member

    Messages:
    720
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    60
    #6
    That worked, thank you very much.

    It's weird though, it was in header.php and footer.php.
     
    Hobbit2, Dec 13, 2006 IP
  7. intrinzik

    intrinzik Peon

    Messages:
    360
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Anger?.... It was honestly a stupid error. he was looking for the code in the css when it was in the html file. Its obvious he didnt code this himself so give him a break. I would suggest getting Notepad++, it color codes the code according to the language ( over 50 on there by default). It really makes coding a breeze and I honestly cant code without it.
     
    intrinzik, Dec 13, 2006 IP
  8. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #8
    No, he asked how to change the background color on www.thp8.net, which I answered. His response was no, he wanted something else, a page not mentioned at all in the original post. Thus, my response. If you can't ask for what you want, you waste people's time.

    gary
     
    kk5st, Dec 14, 2006 IP
  9. Hobbit2

    Hobbit2 Active Member

    Messages:
    720
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    60
    #9
    But I did ask for what I want, I wanted to change the color. If I can change the color, then my problem has been resolved. The page I didn't mention was simply how I wanted it to look like, but that's not the page I wanted to change, so I would have been fine not mentioning the page. But I don't want to fight, I still appreciate the help.
     
    Hobbit2, Dec 14, 2006 IP