+ Reply to Thread
Results 1 to 1 of 1

Thread: 2 Body Backgrounds

  1. #1
    thesequel is offline x10Hosting Member thesequel is an unknown quantity at this point
    Join Date
    Dec 2009
    Posts
    22

    2 Body Backgrounds

    Okay I'm trying to code this: http://img15.imageshack.us/img15/5804/templategv.png
    Here is the site so you can see what I have so far: http://thesequel.exofire.net
    Here are my files for the background: http://localhost/test/images/backgroundgrad.png AND http://localhost/test/images/background.png

    As you can see the design has a gradient for the background. I have taken the gradient and made a 20x768 (backgroundgrad) images to tile on the website. Then I also made another 20x20 (background) image to put under the gradient (backgroundgrad is repeat-x so I wanted background to come up 768px down the page).

    Here is the code for my background
    Code:
    /*CSS*/
    html {
        background: url(images/background.png);
    }
    
    body {
        width: 750px;
        margin: 0 auto;
        border: 5px solid #000;
        background: #9BA3AA url(images/backgroundgrad.png) repeat-x;
        font: 1em/1.3em Georgia, Arial, Verdana;
    }
    I noticed that the gradient is not there and the background's color has changed. Does anyone know of a way to get the background working correctly? And, does anybody know why it would come up like this?

    Sorry if parts of my post don't make sense. It's pretty late and I just can't figure this out.

    I've tried:
    • creating an absolute positioned div, however it was centered along with everything else so the left side of the page was blank
    • using background-position to get background where I wanted (tried in html and body)
    Edit:
    Nevermind guys. The design got changed. I dunno how to report threads, so I'll just hope a mod comes by and locks this.
    Last edited by thesequel; 01-15-2010 at 12:14 AM. Reason: Automerged Doublepost

+ Reply to Thread

Similar Threads

  1. hello every body i am tony
    By tony2010forever in forum Introductions
    Replies: 0
    Last Post: 04-22-2009, 01:34 PM
  2. hi every body
    By rakh30 in forum Introductions
    Replies: 5
    Last Post: 04-30-2008, 03:05 PM
  3. backgrounds
    By syfer in forum Graphics & Webdesign
    Replies: 1
    Last Post: 04-06-2008, 05:15 AM
  4. PHP - extracting data from mail body
    By bonzo meier in forum Programming Help
    Replies: 3
    Last Post: 01-15-2008, 09:55 AM
  5. hallo every body
    By abnaaatmida in forum Introductions
    Replies: 0
    Last Post: 10-21-2006, 03:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers